Bug 969492 - Follow-up naming fix. r=lucasr
authorBrian Nicholson <bnicholson@mozilla.com>
Wed, 26 Feb 2014 11:06:21 -0800
changeset 171212 4e909fc8094379b4f56b8b7c93fa29e61d1a1dfe
parent 171211 3b9473873820791ebf39d2ad70ba689002dac848
child 171213 b0fd368ba5ece7072ec29ff24336e26a8ca323cf
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerslucasr
bugs969492
milestone30.0a1
Bug 969492 - Follow-up naming fix. r=lucasr
mobile/android/base/Tab.java
mobile/android/base/Tabs.java
--- a/mobile/android/base/Tab.java
+++ b/mobile/android/base/Tab.java
@@ -666,17 +666,17 @@ public class Tab {
                 if (!TextUtils.equals(oldURL, getURL()))
                     return;
 
                 ThumbnailHelper.getInstance().getAndProcessThumbnailFor(tab);
             }
         }, 500);
     }
 
-    void handleLoaded() {
+    void handleContentLoaded() {
         setLoadProgress(LOAD_PROGRESS_LOADED);
     }
 
     protected void saveThumbnailToDB() {
         try {
             String url = getURL();
             if (url == null)
                 return;
--- a/mobile/android/base/Tabs.java
+++ b/mobile/android/base/Tabs.java
@@ -450,22 +450,22 @@ public class Tabs implements GeckoEventL
                         tab.handleDocumentStart(showProgress, message.getString("uri"));
                         notifyListeners(tab, Tabs.TabEvents.START);
                     } else if ((state & GeckoAppShell.WPL_STATE_STOP) != 0) {
                         tab.handleDocumentStop(message.getBoolean("success"));
                         notifyListeners(tab, Tabs.TabEvents.STOP);
                     }
                 }
             } else if (event.equals("Content:LoadError")) {
-                tab.handleLoaded();
+                tab.handleContentLoaded();
                 notifyListeners(tab, Tabs.TabEvents.LOAD_ERROR);
             } else if (event.equals("Content:PageShow")) {
                 notifyListeners(tab, TabEvents.PAGE_SHOW);
             } else if (event.equals("DOMContentLoaded")) {
-                tab.handleLoaded();
+                tab.handleContentLoaded();
                 String backgroundColor = message.getString("bgColor");
                 if (backgroundColor != null) {
                     tab.setBackgroundColor(backgroundColor);
                 } else {
                     // Default to white if no color is given
                     tab.setBackgroundColor(Color.WHITE);
                 }
                 tab.setErrorType(message.optString("errorType"));