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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 bool should_show_layout_mode_button() const { | 117 bool should_show_layout_mode_button() const { |
118 return should_show_layout_mode_button_; | 118 return should_show_layout_mode_button_; |
119 } | 119 } |
120 | 120 |
121 // static implementation for chromeos::PanelBrowserView. | 121 // static implementation for chromeos::PanelBrowserView. |
122 static WindowOpenDisposition DispositionForPopupBounds( | 122 static WindowOpenDisposition DispositionForPopupBounds( |
123 const gfx::Rect& bounds); | 123 const gfx::Rect& bounds); |
124 | 124 |
125 protected: | 125 protected: |
126 virtual void GetAccessiblePanes( | 126 virtual void GetAccessiblePanes( |
127 std::vector<views::AccessiblePaneView*>* panes); | 127 std::vector<views::AccessiblePaneView*>* panes) OVERRIDE; |
128 | 128 |
129 private: | 129 private: |
130 void InitSystemMenu(); | 130 void InitSystemMenu(); |
131 | 131 |
132 void ShowInternal(bool is_active); | 132 void ShowInternal(bool is_active); |
133 | 133 |
134 // Updates |has_hide_status_area_property_| by querying the X server. | 134 // Updates |has_hide_status_area_property_| by querying the X server. |
135 void FetchHideStatusAreaProperty(); | 135 void FetchHideStatusAreaProperty(); |
136 | 136 |
137 // Updates |should_show_layout_mode_button_|. Changes won't be visible | 137 // Updates |should_show_layout_mode_button_|. Changes won't be visible |
(...skipping 19 matching lines...) Expand all 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 |