diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 15:52:52 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 15:52:52 +0000 |
commit | d3e3fc1cbd23964e850a5f37ea65a7e07c29cc9b (patch) | |
tree | 7d7e048bb624b7504ad5e8a04eae0c313151ffa0 /views/window/dialog_client_view.h | |
parent | 10946079e34f1a627e9afa232049469a6655cc17 (diff) | |
download | chromium_src-d3e3fc1cbd23964e850a5f37ea65a7e07c29cc9b.zip chromium_src-d3e3fc1cbd23964e850a5f37ea65a7e07c29cc9b.tar.gz chromium_src-d3e3fc1cbd23964e850a5f37ea65a7e07c29cc9b.tar.bz2 |
Fix clang.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/dialog_client_view.h')
-rw-r--r-- | views/window/dialog_client_view.h | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/views/window/dialog_client_view.h b/views/window/dialog_client_view.h index 06a2d73..4a3155a 100644 --- a/views/window/dialog_client_view.h +++ b/views/window/dialog_client_view.h @@ -16,6 +16,9 @@ namespace views { class DialogDelegate; class NativeButton; class Window; +namespace internal { +class RootView; +} /////////////////////////////////////////////////////////////////////////////// // DialogClientView @@ -60,30 +63,34 @@ class DialogClientView : public ClientView, void SetBottomView(View* bottom_view); // Overridden from View: - virtual void NativeViewHierarchyChanged(bool attached, - gfx::NativeView native_view, - RootView* root_view); + virtual void NativeViewHierarchyChanged( + bool attached, + gfx::NativeView native_view, + internal::RootView* root_view) OVERRIDE; // Overridden from ClientView: - virtual bool CanClose(); - virtual void WindowClosing(); - virtual int NonClientHitTest(const gfx::Point& point); - virtual DialogClientView* AsDialogClientView(); + virtual bool CanClose() OVERRIDE; + virtual void WindowClosing() OVERRIDE; + virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; + virtual DialogClientView* AsDialogClientView() OVERRIDE; // FocusChangeListener implementation: - virtual void FocusWillChange(View* focused_before, View* focused_now); + virtual void FocusWillChange(View* focused_before, + View* focused_now) OVERRIDE; protected: // View overrides: - virtual void OnPaint(gfx::Canvas* canvas); - virtual void PaintChildren(gfx::Canvas* canvas); - virtual void Layout(); - virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child); - virtual gfx::Size GetPreferredSize(); - virtual bool AcceleratorPressed(const Accelerator& accelerator); + virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; + virtual void PaintChildren(gfx::Canvas* canvas) OVERRIDE; + virtual void Layout() OVERRIDE; + virtual void ViewHierarchyChanged(bool is_add, View* parent, + View* child) OVERRIDE; + virtual gfx::Size GetPreferredSize() OVERRIDE; + virtual bool AcceleratorPressed(const Accelerator& accelerator) OVERRIDE; // ButtonListener implementation: - virtual void ButtonPressed(Button* sender, const views::Event& event); + virtual void ButtonPressed(Button* sender, + const views::Event& event) OVERRIDE; private: // Paint the size box in the bottom right corner of the window if it is |