| 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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 virtual void WorkerCrashed() OVERRIDE; | 701 virtual void WorkerCrashed() OVERRIDE; |
| 702 virtual void Activate() OVERRIDE; | 702 virtual void Activate() OVERRIDE; |
| 703 virtual void Deactivate() OVERRIDE; | 703 virtual void Deactivate() OVERRIDE; |
| 704 virtual void LostCapture() OVERRIDE; | 704 virtual void LostCapture() OVERRIDE; |
| 705 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 705 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 706 bool* is_keyboard_shortcut) OVERRIDE; | 706 bool* is_keyboard_shortcut) OVERRIDE; |
| 707 virtual void HandleKeyboardEvent( | 707 virtual void HandleKeyboardEvent( |
| 708 const NativeWebKeyboardEvent& event) OVERRIDE; | 708 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 709 virtual void HandleMouseUp() OVERRIDE; | 709 virtual void HandleMouseUp() OVERRIDE; |
| 710 virtual void HandleMouseActivate() OVERRIDE; | 710 virtual void HandleMouseActivate() OVERRIDE; |
| 711 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 711 | 712 |
| 712 // RenderViewHostManager::Delegate ------------------------------------------- | 713 // RenderViewHostManager::Delegate ------------------------------------------- |
| 713 | 714 |
| 714 // Blocks/unblocks interaction with renderer process. | 715 // Blocks/unblocks interaction with renderer process. |
| 715 void BlockTabContent(bool blocked); | 716 void BlockTabContent(bool blocked); |
| 716 | 717 |
| 717 virtual void BeforeUnloadFiredFromRenderManager( | 718 virtual void BeforeUnloadFiredFromRenderManager( |
| 718 bool proceed, | 719 bool proceed, |
| 719 bool* proceed_to_fire_unload); | 720 bool* proceed_to_fire_unload); |
| 720 virtual void DidStartLoadingFromRenderManager( | 721 virtual void DidStartLoadingFromRenderManager( |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 ObserverList<TabContentsObserver> observers_; | 871 ObserverList<TabContentsObserver> observers_; |
| 871 | 872 |
| 872 // Content restrictions, used to disable print/copy etc based on content's | 873 // Content restrictions, used to disable print/copy etc based on content's |
| 873 // (full-page plugins for now only) permissions. | 874 // (full-page plugins for now only) permissions. |
| 874 int content_restrictions_; | 875 int content_restrictions_; |
| 875 | 876 |
| 876 DISALLOW_COPY_AND_ASSIGN(TabContents); | 877 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 877 }; | 878 }; |
| 878 | 879 |
| 879 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |