OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 527 |
528 // True if we have already been initialized. | 528 // True if we have already been initialized. |
529 bool initialized_; | 529 bool initialized_; |
530 | 530 |
531 // True if we should ignore requests to layout. This is set while toggling | 531 // True if we should ignore requests to layout. This is set while toggling |
532 // fullscreen mode on and off to reduce jankiness. | 532 // fullscreen mode on and off to reduce jankiness. |
533 bool ignore_layout_; | 533 bool ignore_layout_; |
534 | 534 |
535 scoped_ptr<FullscreenExitBubble> fullscreen_bubble_; | 535 scoped_ptr<FullscreenExitBubble> fullscreen_bubble_; |
536 | 536 |
537 // The default favicon image. | |
538 static SkBitmap default_favicon_; | |
539 | |
540 // The OTR avatar image. | |
541 static SkBitmap otr_avatar_; | |
542 | |
543 #if defined(OS_WIN) | 537 #if defined(OS_WIN) |
544 // The additional items we insert into the system menu. | 538 // The additional items we insert into the system menu. |
545 scoped_ptr<views::SystemMenuModel> system_menu_contents_; | 539 scoped_ptr<views::SystemMenuModel> system_menu_contents_; |
546 scoped_ptr<ZoomMenuModel> zoom_menu_contents_; | 540 scoped_ptr<ZoomMenuModel> zoom_menu_contents_; |
547 scoped_ptr<EncodingMenuModel> encoding_menu_contents_; | 541 scoped_ptr<EncodingMenuModel> encoding_menu_contents_; |
548 // The wrapped system menu itself. | 542 // The wrapped system menu itself. |
549 scoped_ptr<views::NativeMenuWin> system_menu_; | 543 scoped_ptr<views::NativeMenuWin> system_menu_; |
550 | 544 |
551 // This object is used to perform periodic actions in a worker | 545 // This object is used to perform periodic actions in a worker |
552 // thread. It is currently used to monitor hung plugin windows. | 546 // thread. It is currently used to monitor hung plugin windows. |
(...skipping 28 matching lines...) Expand all Loading... |
581 | 575 |
582 // Last focused view that issued a tab traversal. | 576 // Last focused view that issued a tab traversal. |
583 int last_focused_view_storage_id_; | 577 int last_focused_view_storage_id_; |
584 | 578 |
585 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 579 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
586 | 580 |
587 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 581 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
588 }; | 582 }; |
589 | 583 |
590 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ | 584 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |