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

Unified Diff: chrome/browser/ui/gtk/extensions/native_app_window_gtk.h

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land Created 7 years, 7 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
Index: chrome/browser/ui/gtk/extensions/native_app_window_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.h b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.h
index 16df2bf9d22ec89e672db6ab226c3dbb77e43cd7..5e4113ec23a02cc3af936f4edd61aa8d05243324 100644
--- a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.h
@@ -70,13 +70,13 @@ class NativeAppWindowGtk : public NativeAppWindow,
virtual void RenderViewHostChanged() OVERRIDE;
virtual gfx::Insets GetFrameInsets() const OVERRIDE;
- // WebContentsModalDialogHost implementation.
+ // web_modal::WebContentsModalDialogHost implementation.
virtual gfx::NativeView GetHostView() const OVERRIDE;
virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
virtual void AddObserver(
- WebContentsModalDialogHostObserver* observer) OVERRIDE;
+ web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE;
virtual void RemoveObserver(
- WebContentsModalDialogHostObserver* observer) OVERRIDE;
+ web_modal::WebContentsModalDialogHostObserver* observer) OVERRIDE;
content::WebContents* web_contents() const {
return shell_window_->web_contents();
@@ -153,7 +153,7 @@ class NativeAppWindowGtk : public NativeAppWindow,
// Observers to be notified when any web contents modal dialog requires
// updating its dimensions.
- ObserverList<WebContentsModalDialogHostObserver> observer_list_;
+ ObserverList<web_modal::WebContentsModalDialogHostObserver> observer_list_;
DISALLOW_COPY_AND_ASSIGN(NativeAppWindowGtk);
};

Powered by Google App Engine
This is Rietveld 408576698