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_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/timer.h" | 14 #include "base/timer.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "chrome/browser/infobars/infobar_container.h" | 16 #include "chrome/browser/infobars/infobar_container.h" |
17 #include "chrome/browser/tabs/tab_strip_model_observer.h" | 17 #include "chrome/browser/tabs/tab_strip_model_observer.h" |
18 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/browser/ui/browser_window.h" | 19 #include "chrome/browser/ui/browser_window.h" |
20 #include "chrome/browser/ui/views/frame/browser_bubble_host.h" | 20 #include "chrome/browser/ui/views/frame/browser_bubble_host.h" |
21 #include "chrome/browser/ui/views/frame/browser_frame.h" | 21 #include "chrome/browser/ui/views/frame/browser_frame.h" |
22 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" | 22 #include "chrome/browser/ui/views/tab_contents/tab_contents_container.h" |
23 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h" | 23 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h" |
24 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" | 24 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h" |
25 #include "content/public/browser/notification_registrar.h" | 25 #include "content/public/browser/notification_registrar.h" |
26 #include "ui/base/models/simple_menu_model.h" | 26 #include "ui/base/models/simple_menu_model.h" |
27 #include "ui/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
| 28 #include "ui/views/widget/widget_delegate.h" |
28 #include "ui/views/window/client_view.h" | 29 #include "ui/views/window/client_view.h" |
29 #include "views/controls/single_split_view_listener.h" | 30 #include "views/controls/single_split_view_listener.h" |
30 #include "views/widget/widget_delegate.h" | |
31 | 31 |
32 #if defined(OS_WIN) | 32 #if defined(OS_WIN) |
33 #include "chrome/browser/hang_monitor/hung_plugin_action.h" | 33 #include "chrome/browser/hang_monitor/hung_plugin_action.h" |
34 #include "chrome/browser/hang_monitor/hung_window_detector.h" | 34 #include "chrome/browser/hang_monitor/hung_window_detector.h" |
35 #include "views/controls/menu/native_menu_win.h" | 35 #include "views/controls/menu/native_menu_win.h" |
36 #endif | 36 #endif |
37 | 37 |
38 // NOTE: For more information about the objects and files in this directory, | 38 // NOTE: For more information about the objects and files in this directory, |
39 // view: http://dev.chromium.org/developers/design-documents/browser-window | 39 // view: http://dev.chromium.org/developers/design-documents/browser-window |
40 | 40 |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 // If this flag is set then SetFocusToLocationBar() will set focus to the | 724 // If this flag is set then SetFocusToLocationBar() will set focus to the |
725 // location bar even if the browser window is not active. | 725 // location bar even if the browser window is not active. |
726 bool force_location_bar_focus_; | 726 bool force_location_bar_focus_; |
727 | 727 |
728 PendingFullscreenRequest fullscreen_request_; | 728 PendingFullscreenRequest fullscreen_request_; |
729 | 729 |
730 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 730 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
731 }; | 731 }; |
732 | 732 |
733 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 733 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |