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 #if defined(OS_CHROMEOS) | 330 #if defined(OS_CHROMEOS) |
331 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); | 331 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window); |
332 #endif | 332 #endif |
333 | 333 |
334 // Overridden from BrowserWindowTesting: | 334 // Overridden from BrowserWindowTesting: |
335 virtual BookmarkBarView* GetBookmarkBarView() const; | 335 virtual BookmarkBarView* GetBookmarkBarView() const; |
336 virtual LocationBarView* GetLocationBarView() const; | 336 virtual LocationBarView* GetLocationBarView() const; |
337 virtual views::View* GetTabContentsContainerView() const; | 337 virtual views::View* GetTabContentsContainerView() const; |
338 virtual views::View* GetSidebarContainerView() const; | 338 virtual views::View* GetSidebarContainerView() const; |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 657 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
658 | 658 |
659 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; | 659 scoped_ptr<AccessibleViewHelper> accessible_view_helper_; |
660 | 660 |
661 NotificationRegistrar registrar_; | 661 NotificationRegistrar registrar_; |
662 | 662 |
663 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 663 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
664 }; | 664 }; |
665 | 665 |
666 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 666 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |