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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 318 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
319 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents); | 319 virtual void ShowCreateWebAppShortcutsDialog(TabContents* tab_contents); |
320 virtual void ShowCreateChromeAppShortcutsDialog(Profile*, | 320 virtual void ShowCreateChromeAppShortcutsDialog(Profile*, |
321 const Extension* app); | 321 const Extension* app); |
322 virtual void Cut(); | 322 virtual void Cut(); |
323 virtual void Copy(); | 323 virtual void Copy(); |
324 virtual void Paste(); | 324 virtual void Paste(); |
325 virtual void ToggleTabStripMode(); | 325 virtual void ToggleTabStripMode(); |
326 virtual void PrepareForInstant(); | 326 virtual void PrepareForInstant(); |
327 virtual void ShowInstant(TabContents* preview_contents); | 327 virtual void ShowInstant(TabContents* preview_contents); |
328 virtual void HideInstant(); | 328 virtual void HideInstant(bool instant_is_active); |
329 virtual gfx::Rect GetInstantBounds(); | 329 virtual gfx::Rect GetInstantBounds(); |
330 | 330 |
331 // Overridden from BrowserWindowTesting: | 331 // Overridden from BrowserWindowTesting: |
332 virtual BookmarkBarView* GetBookmarkBarView() const; | 332 virtual BookmarkBarView* GetBookmarkBarView() const; |
333 virtual LocationBarView* GetLocationBarView() const; | 333 virtual LocationBarView* GetLocationBarView() const; |
334 virtual views::View* GetTabContentsContainerView() const; | 334 virtual views::View* GetTabContentsContainerView() const; |
335 virtual views::View* GetSidebarContainerView() const; | 335 virtual views::View* GetSidebarContainerView() const; |
336 virtual ToolbarView* GetToolbarView() const; | 336 virtual ToolbarView* GetToolbarView() const; |
337 | 337 |
338 // Overridden from NotificationObserver: | 338 // Overridden from NotificationObserver: |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 654 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
655 | 655 |
656 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 656 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
657 | 657 |
658 NotificationRegistrar registrar_; | 658 NotificationRegistrar registrar_; |
659 | 659 |
660 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 660 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
661 }; | 661 }; |
662 | 662 |
663 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 663 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |