Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 675 virtual void WorkerCrashed(); | 675 virtual void WorkerCrashed(); |
| 676 virtual void Activate(); | 676 virtual void Activate(); |
| 677 virtual void Deactivate(); | 677 virtual void Deactivate(); |
| 678 virtual void LostCapture(); | 678 virtual void LostCapture(); |
| 679 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 679 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 680 bool* is_keyboard_shortcut); | 680 bool* is_keyboard_shortcut); |
| 681 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 681 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 682 virtual void HandleMouseUp(); | 682 virtual void HandleMouseUp(); |
| 683 virtual void HandleMouseActivate(); | 683 virtual void HandleMouseActivate(); |
| 684 | 684 |
| 685 virtual void EnterFullscreenMode(); | |
|
sky
2011/07/28 03:53:29
OVERRIDE on both of these.
koz (OOO until 15th September)
2011/07/28 05:14:30
Done.
| |
| 686 virtual void ExitFullscreenMode(); | |
| 687 | |
| 685 // RenderViewHostManager::Delegate ------------------------------------------- | 688 // RenderViewHostManager::Delegate ------------------------------------------- |
| 686 | 689 |
| 687 // Blocks/unblocks interaction with renderer process. | 690 // Blocks/unblocks interaction with renderer process. |
| 688 void BlockTabContent(bool blocked); | 691 void BlockTabContent(bool blocked); |
| 689 | 692 |
| 690 virtual void BeforeUnloadFiredFromRenderManager( | 693 virtual void BeforeUnloadFiredFromRenderManager( |
| 691 bool proceed, | 694 bool proceed, |
| 692 bool* proceed_to_fire_unload); | 695 bool* proceed_to_fire_unload); |
| 693 virtual void DidStartLoadingFromRenderManager( | 696 virtual void DidStartLoadingFromRenderManager( |
| 694 RenderViewHost* render_view_host); | 697 RenderViewHost* render_view_host); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 839 ObserverList<TabContentsObserver> observers_; | 842 ObserverList<TabContentsObserver> observers_; |
| 840 | 843 |
| 841 // Content restrictions, used to disable print/copy etc based on content's | 844 // Content restrictions, used to disable print/copy etc based on content's |
| 842 // (full-page plugins for now only) permissions. | 845 // (full-page plugins for now only) permissions. |
| 843 int content_restrictions_; | 846 int content_restrictions_; |
| 844 | 847 |
| 845 DISALLOW_COPY_AND_ASSIGN(TabContents); | 848 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 846 }; | 849 }; |
| 847 | 850 |
| 848 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 851 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |