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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 95 virtual gfx::Font GetStatusAreaFont(const gfx::Font& font) const OVERRIDE; |
96 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; | 96 virtual StatusAreaButton::TextStyle GetStatusAreaTextStyle() const OVERRIDE; |
97 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; | 97 virtual void ButtonVisibilityChanged(views::View* button_view) OVERRIDE; |
98 | 98 |
99 // MessageLoopForUI::Observer overrides. | 99 // MessageLoopForUI::Observer overrides. |
100 #if defined(TOUCH_UI) || defined(USE_AURA) | 100 #if defined(USE_AURA) |
101 // MessageLoopForUI::Observer overrides. | 101 // MessageLoopForUI::Observer overrides. |
102 virtual base::EventStatus WillProcessEvent( | 102 virtual base::EventStatus WillProcessEvent( |
103 const base::NativeEvent& event) OVERRIDE; | 103 const base::NativeEvent& event) OVERRIDE; |
104 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; | 104 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
105 #else | 105 #else |
106 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE {} | 106 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE {} |
107 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; | 107 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; |
108 #endif | 108 #endif |
109 | 109 |
110 gfx::NativeView saved_focused_widget() const { | 110 gfx::NativeView saved_focused_widget() const { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // Should the layout mode button be shown? We only show it if there are | 157 // Should the layout mode button be shown? We only show it if there are |
158 // multiple browsers open. | 158 // multiple browsers open. |
159 bool should_show_layout_mode_button_; | 159 bool should_show_layout_mode_button_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 161 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace chromeos | 164 } // namespace chromeos |
165 | 165 |
166 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 166 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |