| 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 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
| 13 #include "chrome/browser/chromeos/status/status_area_button.h" | 13 #include "chrome/browser/chromeos/status/status_area_button.h" |
| 14 #include "chrome/browser/ui/browser_list.h" | 14 #include "chrome/browser/ui/browser_list.h" |
| 15 #include "chrome/browser/ui/views/frame/browser_view.h" | 15 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 16 #include "views/context_menu_controller.h" | 16 #include "views/context_menu_controller.h" |
| 17 #include "views/controls/menu/menu_listener.h" | 17 #include "views/controls/menu/menu_listener.h" |
| 18 | 18 |
| 19 class AccessibleToolbarView; | |
| 20 class Profile; | |
| 21 class StatusAreaButton; | 19 class StatusAreaButton; |
| 22 class TabStripModel; | |
| 23 | |
| 24 namespace ui { | |
| 25 class SimpleMenuModel; | |
| 26 } // namespace ui | |
| 27 | 20 |
| 28 namespace views { | 21 namespace views { |
| 29 class AccessiblePaneView; | 22 class AccessiblePaneView; |
| 30 class ImageButton; | |
| 31 class ImageView; | |
| 32 class MenuDelegate; | 23 class MenuDelegate; |
| 33 class MenuItemView; | |
| 34 class MenuRunner; | 24 class MenuRunner; |
| 35 } // namespace views | 25 } // namespace views |
| 36 | 26 |
| 37 namespace chromeos { | 27 namespace chromeos { |
| 38 | 28 |
| 39 class LayoutModeButton; | 29 class LayoutModeButton; |
| 40 class StatusAreaViewChromeos; | 30 class StatusAreaViewChromeos; |
| 41 | 31 |
| 42 // chromeos::BrowserView adds ChromeOS specific controls and menus to a | 32 // chromeos::BrowserView adds ChromeOS specific controls and menus to a |
| 43 // BrowserView created with Browser::TYPE_TABBED. This extender adds controls | 33 // BrowserView created with Browser::TYPE_TABBED. This extender adds controls |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Should the layout mode button be shown? We only show it if there are | 144 // Should the layout mode button be shown? We only show it if there are |
| 155 // multiple browsers open. | 145 // multiple browsers open. |
| 156 bool should_show_layout_mode_button_; | 146 bool should_show_layout_mode_button_; |
| 157 | 147 |
| 158 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 148 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 159 }; | 149 }; |
| 160 | 150 |
| 161 } // namespace chromeos | 151 } // namespace chromeos |
| 162 | 152 |
| 163 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ | 153 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |