| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; | 55 virtual int NonClientHitTest(const gfx::Point& point) OVERRIDE; |
| 56 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) | 56 virtual void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) |
| 57 OVERRIDE; | 57 OVERRIDE; |
| 58 virtual void EnableClose(bool enable) OVERRIDE; | 58 virtual void EnableClose(bool enable) OVERRIDE; |
| 59 virtual void ResetWindowControls() OVERRIDE; | 59 virtual void ResetWindowControls() OVERRIDE; |
| 60 virtual void UpdateWindowIcon() OVERRIDE; | 60 virtual void UpdateWindowIcon() OVERRIDE; |
| 61 | 61 |
| 62 // Overridden from views::View: | 62 // Overridden from views::View: |
| 63 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 63 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 64 virtual void OnThemeChanged() OVERRIDE; | 64 virtual void OnThemeChanged() OVERRIDE; |
| 65 virtual gfx::Size GetMinimumSize() OVERRIDE; |
| 65 virtual void Layout() OVERRIDE; | 66 virtual void Layout() OVERRIDE; |
| 66 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 67 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 67 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; | 68 virtual bool OnMousePressed(const views::MouseEvent& event) OVERRIDE; |
| 68 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; | 69 virtual bool OnMouseDragged(const views::MouseEvent& event) OVERRIDE; |
| 69 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; | 70 virtual void OnMouseReleased(const views::MouseEvent& event) OVERRIDE; |
| 70 virtual void OnMouseCaptureLost() OVERRIDE; | 71 virtual void OnMouseCaptureLost() OVERRIDE; |
| 71 | 72 |
| 72 // Overridden from views::ButtonListener: | 73 // Overridden from views::ButtonListener: |
| 73 virtual void ButtonPressed(views::Button* sender, const views::Event& event) | 74 virtual void ButtonPressed(views::Button* sender, const views::Event& event) |
| 74 OVERRIDE; | 75 OVERRIDE; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 gfx::Rect client_view_bounds_; | 181 gfx::Rect client_view_bounds_; |
| 181 scoped_ptr<MouseWatcher> mouse_watcher_; | 182 scoped_ptr<MouseWatcher> mouse_watcher_; |
| 182 scoped_ptr<views::Menu2> settings_menu_; | 183 scoped_ptr<views::Menu2> settings_menu_; |
| 183 scoped_ptr<ui::SimpleMenuModel> settings_menu_contents_; | 184 scoped_ptr<ui::SimpleMenuModel> settings_menu_contents_; |
| 184 scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_; | 185 scoped_ptr<ExtensionUninstallDialog> extension_uninstall_dialog_; |
| 185 | 186 |
| 186 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); | 187 DISALLOW_COPY_AND_ASSIGN(PanelBrowserFrameView); |
| 187 }; | 188 }; |
| 188 | 189 |
| 189 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ | 190 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |