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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 37 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
38 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" | 38 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" |
39 #include "chrome/browser/ui/shell_dialogs.h" | 39 #include "chrome/browser/ui/shell_dialogs.h" |
40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h" | 40 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h" |
41 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 41 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
42 #include "chrome/common/content_settings.h" | 42 #include "chrome/common/content_settings.h" |
43 #include "chrome/common/content_settings_types.h" | 43 #include "chrome/common/content_settings_types.h" |
44 #include "chrome/common/extensions/extension_constants.h" | 44 #include "chrome/common/extensions/extension_constants.h" |
45 #include "content/browser/tab_contents/page_navigator.h" | 45 #include "content/browser/tab_contents/page_navigator.h" |
46 #include "content/browser/tab_contents/tab_contents_delegate.h" | 46 #include "content/browser/tab_contents/tab_contents_delegate.h" |
47 #include "content/common/page_zoom.h" | |
48 #include "content/public/browser/notification_registrar.h" | 47 #include "content/public/browser/notification_registrar.h" |
49 #include "content/public/common/page_transition_types.h" | 48 #include "content/public/common/page_transition_types.h" |
| 49 #include "content/public/common/page_zoom.h" |
50 #include "ui/base/ui_base_types.h" | 50 #include "ui/base/ui_base_types.h" |
51 #include "ui/gfx/rect.h" | 51 #include "ui/gfx/rect.h" |
52 | 52 |
53 class BrowserSyncedWindowDelegate; | 53 class BrowserSyncedWindowDelegate; |
54 class BrowserTabRestoreServiceDelegate; | 54 class BrowserTabRestoreServiceDelegate; |
55 class BrowserWindow; | 55 class BrowserWindow; |
56 class Extension; | 56 class Extension; |
57 class FindBarController; | 57 class FindBarController; |
58 class InstantController; | 58 class InstantController; |
59 class InstantUnloadHandler; | 59 class InstantUnloadHandler; |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 void Cut(); | 568 void Cut(); |
569 void Copy(); | 569 void Copy(); |
570 void Paste(); | 570 void Paste(); |
571 | 571 |
572 // Find-in-page | 572 // Find-in-page |
573 void Find(); | 573 void Find(); |
574 void FindNext(); | 574 void FindNext(); |
575 void FindPrevious(); | 575 void FindPrevious(); |
576 | 576 |
577 // Zoom | 577 // Zoom |
578 void Zoom(PageZoom::Function zoom_function); | 578 void Zoom(content::PageZoom zoom); |
579 | 579 |
580 // Focus various bits of UI | 580 // Focus various bits of UI |
581 void FocusToolbar(); | 581 void FocusToolbar(); |
582 void FocusLocationBar(); // Also selects any existing text. | 582 void FocusLocationBar(); // Also selects any existing text. |
583 void FocusSearch(); | 583 void FocusSearch(); |
584 void FocusAppMenu(); | 584 void FocusAppMenu(); |
585 void FocusBookmarksToolbar(); | 585 void FocusBookmarksToolbar(); |
586 void FocusChromeOSStatus(); | 586 void FocusChromeOSStatus(); |
587 void FocusNextPane(); | 587 void FocusNextPane(); |
588 void FocusPreviousPane(); | 588 void FocusPreviousPane(); |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 | 1455 |
1456 MouseLockState mouse_lock_state_; | 1456 MouseLockState mouse_lock_state_; |
1457 | 1457 |
1458 // True if the browser window has been shown at least once. | 1458 // True if the browser window has been shown at least once. |
1459 bool window_has_shown_; | 1459 bool window_has_shown_; |
1460 | 1460 |
1461 DISALLOW_COPY_AND_ASSIGN(Browser); | 1461 DISALLOW_COPY_AND_ASSIGN(Browser); |
1462 }; | 1462 }; |
1463 | 1463 |
1464 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1464 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |