OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" | 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" |
11 #include "chrome/browser/hang_monitor/hung_window_detector.h" | 11 #include "chrome/browser/hang_monitor/hung_window_detector.h" |
12 #include "chrome/browser/tabs/tab_strip_model.h" | 12 #include "chrome/browser/tabs/tab_strip_model.h" |
13 #include "chrome/browser/views/frame/browser_frame.h" | 13 #include "chrome/browser/views/frame/browser_frame.h" |
14 #include "chrome/views/client_view.h" | 14 #include "chrome/views/client_view.h" |
15 #include "chrome/views/window_delegate.h" | 15 #include "chrome/views/window_delegate.h" |
16 #ifdef CHROME_PERSONALIZATION | 16 #ifdef CHROME_PERSONALIZATION |
17 #include "chrome/personalization/personalization.h" | 17 #include "chrome/personalization/personalization.h" |
18 #endif | 18 #endif |
19 | 19 |
20 // NOTE: For more information about the objects and files in this directory, | 20 // NOTE: For more information about the objects and files in this directory, |
21 // view: https://sites.google.com/a/google.com/the-chrome-project/develope
rs/design-documents/browser-window | 21 // view: https://sites.google.com/a/google.com/the-chrome-project/develope
rs/design-documents/browser-window |
22 | 22 |
23 class BookmarkBarView; | 23 class BookmarkBarView; |
24 class Browser; | 24 class Browser; |
25 class BrowserToolbarView; | 25 class BrowserToolbarView; |
26 class EncodingMenuControllerDelegate; | 26 class EncodingMenuControllerDelegate; |
| 27 class FullscreenExitBubble; |
27 class InfoBarContainer; | 28 class InfoBarContainer; |
28 class Menu; | 29 class Menu; |
29 class StatusBubbleViews; | 30 class StatusBubbleViews; |
30 class TabContentsContainerView; | 31 class TabContentsContainerView; |
31 | 32 |
32 /////////////////////////////////////////////////////////////////////////////// | 33 /////////////////////////////////////////////////////////////////////////////// |
33 // BrowserView | 34 // BrowserView |
34 // | 35 // |
35 // A ClientView subclass that provides the contents of a browser window, | 36 // A ClientView subclass that provides the contents of a browser window, |
36 // including the TabStrip, toolbars, download shelves, the content area etc. | 37 // including the TabStrip, toolbars, download shelves, the content area etc. |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 | 383 |
383 // True if we have already been initialized. | 384 // True if we have already been initialized. |
384 bool initialized_; | 385 bool initialized_; |
385 | 386 |
386 // True if we're in fullscreen mode. | 387 // True if we're in fullscreen mode. |
387 bool fullscreen_; | 388 bool fullscreen_; |
388 | 389 |
389 // Saved window information from before entering fullscreen mode. | 390 // Saved window information from before entering fullscreen mode. |
390 SavedWindowInfo saved_window_info_; | 391 SavedWindowInfo saved_window_info_; |
391 | 392 |
| 393 scoped_ptr<FullscreenExitBubble> fullscreen_bubble_; |
| 394 |
392 // Lazily created representation of the system menu. | 395 // Lazily created representation of the system menu. |
393 scoped_ptr<Menu> system_menu_; | 396 scoped_ptr<Menu> system_menu_; |
394 | 397 |
395 // The default favicon image. | 398 // The default favicon image. |
396 static SkBitmap default_favicon_; | 399 static SkBitmap default_favicon_; |
397 | 400 |
398 // Initially set in CanDrop by invoking the same method on the TabStrip. | 401 // Initially set in CanDrop by invoking the same method on the TabStrip. |
399 bool can_drop_; | 402 bool can_drop_; |
400 | 403 |
401 // If true, drag and drop events are being forwarded to the tab strip. | 404 // If true, drag and drop events are being forwarded to the tab strip. |
(...skipping 29 matching lines...) Expand all Loading... |
431 // P13N stuff | 434 // P13N stuff |
432 #ifdef CHROME_PERSONALIZATION | 435 #ifdef CHROME_PERSONALIZATION |
433 FramePersonalization personalization_; | 436 FramePersonalization personalization_; |
434 bool personalization_enabled_; | 437 bool personalization_enabled_; |
435 #endif | 438 #endif |
436 | 439 |
437 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); | 440 DISALLOW_EVIL_CONSTRUCTORS(BrowserView); |
438 }; | 441 }; |
439 | 442 |
440 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 443 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |