| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/status/status_area_host.h" | 8 #include "chrome/browser/chromeos/status/status_area_host.h" |
| 9 #include "chrome/browser/views/frame/browser_view.h" | 9 #include "chrome/browser/views/frame/browser_view.h" |
| 10 | 10 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // views::ContextMenuController overrides. | 67 // views::ContextMenuController overrides. |
| 68 virtual void ShowContextMenu(views::View* source, | 68 virtual void ShowContextMenu(views::View* source, |
| 69 const gfx::Point& p, | 69 const gfx::Point& p, |
| 70 bool is_mouse_gesture); | 70 bool is_mouse_gesture); |
| 71 | 71 |
| 72 // StatusAreaHost overrides. | 72 // StatusAreaHost overrides. |
| 73 virtual Profile* GetProfile() const; | 73 virtual Profile* GetProfile() const; |
| 74 virtual gfx::NativeWindow GetNativeWindow() const; | 74 virtual gfx::NativeWindow GetNativeWindow() const; |
| 75 virtual bool ShouldOpenButtonOptions( | 75 virtual bool ShouldOpenButtonOptions( |
| 76 const views::View* button_view) const; | 76 const views::View* button_view) const; |
| 77 virtual void ExecuteBrowserCommand(int id) const; | |
| 78 virtual void OpenButtonOptions(const views::View* button_view) const; | 77 virtual void OpenButtonOptions(const views::View* button_view) const; |
| 79 virtual bool IsButtonVisible(const views::View* button_view) const; | 78 virtual bool IsButtonVisible(const views::View* button_view) const; |
| 80 virtual bool IsBrowserMode() const; | 79 virtual bool IsBrowserMode() const; |
| 81 | 80 |
| 82 // Shows the compact location bar under the selected tab. | 81 // Shows the compact location bar under the selected tab. |
| 83 void ShowCompactLocationBarUnderSelectedTab(bool select_all); | 82 void ShowCompactLocationBarUnderSelectedTab(bool select_all); |
| 84 | 83 |
| 85 // Returns true if the ui style is in Compact mode. | 84 // Returns true if the ui style is in Compact mode. |
| 86 bool is_compact_style() const { | 85 bool is_compact_style() const { |
| 87 return ui_style_ == CompactStyle; | 86 return ui_style_ == CompactStyle; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 123 |
| 125 // Menu button shown in status area when browser is in compact mode. | 124 // Menu button shown in status area when browser is in compact mode. |
| 126 StatusAreaButton* menu_view_; | 125 StatusAreaButton* menu_view_; |
| 127 | 126 |
| 128 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 127 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 129 }; | 128 }; |
| 130 | 129 |
| 131 } // namespace chromeos | 130 } // namespace chromeos |
| 132 | 131 |
| 133 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 132 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |