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_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> |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 bool show_history); | 312 bool show_history); |
313 virtual void ShowAppMenu(); | 313 virtual void ShowAppMenu(); |
314 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 314 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
315 bool* is_keyboard_shortcut); | 315 bool* is_keyboard_shortcut); |
316 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 316 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
317 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); | 317 virtual void ShowCreateShortcutsDialog(TabContents* tab_contents); |
318 virtual void Cut(); | 318 virtual void Cut(); |
319 virtual void Copy(); | 319 virtual void Copy(); |
320 virtual void Paste(); | 320 virtual void Paste(); |
321 virtual void ToggleTabStripMode(); | 321 virtual void ToggleTabStripMode(); |
| 322 virtual void PrepareForInstant(); |
322 virtual void ShowInstant(TabContents* preview_contents); | 323 virtual void ShowInstant(TabContents* preview_contents); |
323 virtual void HideInstant(); | 324 virtual void HideInstant(); |
324 virtual gfx::Rect GetInstantBounds(); | 325 virtual gfx::Rect GetInstantBounds(); |
325 | 326 |
326 // Overridden from BrowserWindowTesting: | 327 // Overridden from BrowserWindowTesting: |
327 virtual BookmarkBarView* GetBookmarkBarView() const; | 328 virtual BookmarkBarView* GetBookmarkBarView() const; |
328 virtual LocationBarView* GetLocationBarView() const; | 329 virtual LocationBarView* GetLocationBarView() const; |
329 virtual views::View* GetTabContentsContainerView() const; | 330 virtual views::View* GetTabContentsContainerView() const; |
330 virtual views::View* GetSidebarContainerView() const; | 331 virtual views::View* GetSidebarContainerView() const; |
331 virtual ToolbarView* GetToolbarView() const; | 332 virtual ToolbarView* GetToolbarView() const; |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 646 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
646 | 647 |
647 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 648 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
648 | 649 |
649 NotificationRegistrar registrar_; | 650 NotificationRegistrar registrar_; |
650 | 651 |
651 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 652 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
652 }; | 653 }; |
653 | 654 |
654 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 655 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |