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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 callback) override; | 370 callback) override; |
371 std::string GetWorkspace() const override; | 371 std::string GetWorkspace() const override; |
372 bool IsVisibleOnAllWorkspaces() const override; | 372 bool IsVisibleOnAllWorkspaces() const override; |
373 | 373 |
374 BookmarkBarView* GetBookmarkBarView() const; | 374 BookmarkBarView* GetBookmarkBarView() const; |
375 LocationBarView* GetLocationBarView() const; | 375 LocationBarView* GetLocationBarView() const; |
376 views::View* GetTabContentsContainerView() const; | 376 views::View* GetTabContentsContainerView() const; |
377 ToolbarView* GetToolbarView() const; | 377 ToolbarView* GetToolbarView() const; |
378 | 378 |
379 // Overridden from TabStripModelObserver: | 379 // Overridden from TabStripModelObserver: |
380 void TabInsertedAt(content::WebContents* contents, | 380 void TabInsertedAt(TabStripModel* tab_strip_model, |
| 381 content::WebContents* contents, |
381 int index, | 382 int index, |
382 bool foreground) override; | 383 bool foreground) override; |
383 void TabDetachedAt(content::WebContents* contents, int index) override; | 384 void TabDetachedAt(content::WebContents* contents, int index) override; |
384 void TabDeactivated(content::WebContents* contents) override; | 385 void TabDeactivated(content::WebContents* contents) override; |
385 void TabStripEmpty() override; | 386 void TabStripEmpty() override; |
386 void WillCloseAllTabs() override; | 387 void WillCloseAllTabs() override; |
387 void CloseAllTabsCanceled() override; | 388 void CloseAllTabsCanceled() override; |
388 | 389 |
389 // Overridden from ui::AcceleratorProvider: | 390 // Overridden from ui::AcceleratorProvider: |
390 bool GetAcceleratorForCommandId(int command_id, | 391 bool GetAcceleratorForCommandId(int command_id, |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 // The class that registers for keyboard shortcuts for extension commands. | 704 // The class that registers for keyboard shortcuts for extension commands. |
704 std::unique_ptr<ExtensionKeybindingRegistryViews> | 705 std::unique_ptr<ExtensionKeybindingRegistryViews> |
705 extension_keybinding_registry_; | 706 extension_keybinding_registry_; |
706 | 707 |
707 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 708 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
708 | 709 |
709 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 710 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
710 }; | 711 }; |
711 | 712 |
712 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 713 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
OLD | NEW |