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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // BrowserList::Observer implementation. | 86 // BrowserList::Observer implementation. |
87 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 87 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; |
88 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 88 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; |
89 | 89 |
90 // StatusAreaButton::Delegate overrides. | 90 // StatusAreaButton::Delegate overrides. |
91 virtual bool ShouldExecuteStatusAreaCommand( | 91 virtual bool ShouldExecuteStatusAreaCommand( |
92 const views::View* button_view, int command_id) const OVERRIDE; | 92 const views::View* button_view, int command_id) const OVERRIDE; |
93 virtual void ExecuteStatusAreaCommand( | 93 virtual void ExecuteStatusAreaCommand( |
94 const views::View* button_view, int command_id) OVERRIDE; | 94 const views::View* button_view, int command_id) OVERRIDE; |
95 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE; | |
96 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; | 95 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; |
97 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 96 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
98 | 97 |
99 // MessageLoopForUI::Observer overrides. | 98 // MessageLoopForUI::Observer overrides. |
100 #if defined(USE_AURA) | 99 #if defined(USE_AURA) |
101 // MessageLoopForUI::Observer overrides. | 100 // MessageLoopForUI::Observer overrides. |
102 virtual base::EventStatus WillProcessEvent( | 101 virtual base::EventStatus WillProcessEvent( |
103 const base::NativeEvent& event) OVERRIDE; | 102 const base::NativeEvent& event) OVERRIDE; |
104 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; | 103 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
105 #else | 104 #else |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // Should the layout mode button be shown? We only show it if there are | 152 // Should the layout mode button be shown? We only show it if there are |
154 // multiple browsers open. | 153 // multiple browsers open. |
155 bool should_show_layout_mode_button_; | 154 bool should_show_layout_mode_button_; |
156 | 155 |
157 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 156 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
158 }; | 157 }; |
159 | 158 |
160 } // namespace chromeos | 159 } // namespace chromeos |
161 | 160 |
162 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 161 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |