Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Unified Diff: chrome/browser/ui/zoom/zoom_controller.h

Issue 11299014: [zoom bubble] Fix my stupidity and restore the proper host handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/zoom/zoom_controller.cc » ('j') | chrome/browser/ui/zoom/zoom_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/zoom/zoom_controller.h
diff --git a/chrome/browser/ui/zoom/zoom_controller.h b/chrome/browser/ui/zoom/zoom_controller.h
index f7aed95ba46d1245da291190d5523d918b8fa379..f4685722e864b1f97baaf57711ad5243995dd4d5 100644
--- a/chrome/browser/ui/zoom/zoom_controller.h
+++ b/chrome/browser/ui/zoom/zoom_controller.h
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/gtest_prod_util.h"
#include "base/prefs/public/pref_observer.h"
#include "chrome/browser/api/prefs/pref_member.h"
#include "content/public/browser/notification_observer.h"
@@ -73,6 +74,10 @@ class ZoomController : public content::NotificationObserver,
// Observer receiving notifications on state changes.
ZoomObserver* observer_;
+ FRIEND_TEST_ALL_PREFIXES(ZoomControllerTest, DidNavigateMainFrame);
+ FRIEND_TEST_ALL_PREFIXES(ZoomControllerTest, Observe);
+ FRIEND_TEST_ALL_PREFIXES(ZoomControllerTest, OnPreferenceChanged);
+
DISALLOW_COPY_AND_ASSIGN(ZoomController);
};
« no previous file with comments | « no previous file | chrome/browser/ui/zoom/zoom_controller.cc » ('j') | chrome/browser/ui/zoom/zoom_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698