OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 #if defined(OS_WIN) | 64 #if defined(OS_WIN) |
65 class JumpList; | 65 class JumpList; |
66 #endif | 66 #endif |
67 | 67 |
68 namespace extensions { | 68 namespace extensions { |
69 class ActiveTabPermissionGranter; | 69 class ActiveTabPermissionGranter; |
70 class Command; | 70 class Command; |
71 class Extension; | 71 class Extension; |
72 } | 72 } |
73 | 73 |
| 74 namespace payments { |
| 75 class PaymentRequestImpl; |
| 76 } |
| 77 |
74 namespace views { | 78 namespace views { |
75 class AccessiblePaneView; | 79 class AccessiblePaneView; |
76 class ExternalFocusTracker; | 80 class ExternalFocusTracker; |
77 class WebView; | 81 class WebView; |
78 } | 82 } |
79 | 83 |
80 /////////////////////////////////////////////////////////////////////////////// | 84 /////////////////////////////////////////////////////////////////////////////// |
81 // BrowserView | 85 // BrowserView |
82 // | 86 // |
83 // A ClientView subclass that provides the contents of a browser window, | 87 // A ClientView subclass that provides the contents of a browser window, |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 366 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
363 void ExecuteExtensionCommand(const extensions::Extension* extension, | 367 void ExecuteExtensionCommand(const extensions::Extension* extension, |
364 const extensions::Command& command) override; | 368 const extensions::Command& command) override; |
365 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 369 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
366 void ShowImeWarningBubble( | 370 void ShowImeWarningBubble( |
367 const extensions::Extension* extension, | 371 const extensions::Extension* extension, |
368 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& | 372 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& |
369 callback) override; | 373 callback) override; |
370 std::string GetWorkspace() const override; | 374 std::string GetWorkspace() const override; |
371 bool IsVisibleOnAllWorkspaces() const override; | 375 bool IsVisibleOnAllWorkspaces() const override; |
| 376 void ShowWebPaymentsDialog(payments::PaymentRequestImpl* impl) override; |
372 | 377 |
373 BookmarkBarView* GetBookmarkBarView() const; | 378 BookmarkBarView* GetBookmarkBarView() const; |
374 LocationBarView* GetLocationBarView() const; | 379 LocationBarView* GetLocationBarView() const; |
375 views::View* GetTabContentsContainerView() const; | 380 views::View* GetTabContentsContainerView() const; |
376 | 381 |
377 // Overridden from TabStripModelObserver: | 382 // Overridden from TabStripModelObserver: |
378 void TabInsertedAt(TabStripModel* tab_strip_model, | 383 void TabInsertedAt(TabStripModel* tab_strip_model, |
379 content::WebContents* contents, | 384 content::WebContents* contents, |
380 int index, | 385 int index, |
381 bool foreground) override; | 386 bool foreground) override; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 // The class that registers for keyboard shortcuts for extension commands. | 708 // The class that registers for keyboard shortcuts for extension commands. |
704 std::unique_ptr<ExtensionKeybindingRegistryViews> | 709 std::unique_ptr<ExtensionKeybindingRegistryViews> |
705 extension_keybinding_registry_; | 710 extension_keybinding_registry_; |
706 | 711 |
707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 712 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
708 | 713 |
709 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 714 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
710 }; | 715 }; |
711 | 716 |
712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 717 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |