| 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; | 
| 77   virtual void OpenButtonOptions(const views::View* button_view) const; | 78   virtual void OpenButtonOptions(const views::View* button_view) const; | 
| 78   virtual bool IsButtonVisible(const views::View* button_view) const; | 79   virtual bool IsButtonVisible(const views::View* button_view) const; | 
| 79   virtual bool IsBrowserMode() const; | 80   virtual bool IsBrowserMode() const; | 
| 80 | 81 | 
| 81   // Shows the compact location bar under the selected tab. | 82   // Shows the compact location bar under the selected tab. | 
| 82   void ShowCompactLocationBarUnderSelectedTab(bool select_all); | 83   void ShowCompactLocationBarUnderSelectedTab(bool select_all); | 
| 83 | 84 | 
| 84   // Returns true if the ui style is in Compact mode. | 85   // Returns true if the ui style is in Compact mode. | 
| 85   bool is_compact_style() const { | 86   bool is_compact_style() const { | 
| 86     return ui_style_ == CompactStyle; | 87     return ui_style_ == CompactStyle; | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 123 | 124 | 
| 124   // Menu button shown in status area when browser is in compact mode. | 125   // Menu button shown in status area when browser is in compact mode. | 
| 125   StatusAreaButton* menu_view_; | 126   StatusAreaButton* menu_view_; | 
| 126 | 127 | 
| 127   DISALLOW_COPY_AND_ASSIGN(BrowserView); | 128   DISALLOW_COPY_AND_ASSIGN(BrowserView); | 
| 128 }; | 129 }; | 
| 129 | 130 | 
| 130 }  // namespace chromeos | 131 }  // namespace chromeos | 
| 131 | 132 | 
| 132 #endif  // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 133 #endif  // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 
| OLD | NEW | 
|---|