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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.h

Issue 377423002: Make ChromeAutofillClient a ZoomObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo in comment. Created 6 years, 5 months 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/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/chrome_autofill_client.h
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h
index 2893ca7f1eab7f24599c7f593a2d09d8b5885d5c..ac5fa76ce0f6ec8a86e2979e652e2f4cfff27620 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/i18n/rtl.h"
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/ui/zoom/zoom_observer.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
@@ -30,7 +31,8 @@ struct FormData;
class ChromeAutofillClient
: public AutofillClient,
public content::WebContentsUserData<ChromeAutofillClient>,
- public content::WebContentsObserver {
+ public content::WebContentsObserver,
+ public ZoomObserver {
public:
virtual ~ChromeAutofillClient();
@@ -72,6 +74,10 @@ class ChromeAutofillClient
// content::WebContentsObserver implementation.
virtual void WebContentsDestroyed() OVERRIDE;
+ // ZoomObserver implementation.
+ virtual void OnZoomChanged(
+ const ZoomController::ZoomChangedEventData& data) OVERRIDE;
+
// Exposed for testing.
AutofillDialogController* GetDialogControllerForTesting() {
return dialog_controller_.get();
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/chrome_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698