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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 uint64 upload_position, uint64 upload_size); | 674 uint64 upload_position, uint64 upload_size); |
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 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
684 | 685 |
685 // RenderViewHostManager::Delegate ------------------------------------------- | 686 // RenderViewHostManager::Delegate ------------------------------------------- |
686 | 687 |
687 // Blocks/unblocks interaction with renderer process. | 688 // Blocks/unblocks interaction with renderer process. |
688 void BlockTabContent(bool blocked); | 689 void BlockTabContent(bool blocked); |
689 | 690 |
690 virtual void BeforeUnloadFiredFromRenderManager( | 691 virtual void BeforeUnloadFiredFromRenderManager( |
691 bool proceed, | 692 bool proceed, |
692 bool* proceed_to_fire_unload); | 693 bool* proceed_to_fire_unload); |
693 virtual void DidStartLoadingFromRenderManager( | 694 virtual void DidStartLoadingFromRenderManager( |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 ObserverList<TabContentsObserver> observers_; | 840 ObserverList<TabContentsObserver> observers_; |
840 | 841 |
841 // Content restrictions, used to disable print/copy etc based on content's | 842 // Content restrictions, used to disable print/copy etc based on content's |
842 // (full-page plugins for now only) permissions. | 843 // (full-page plugins for now only) permissions. |
843 int content_restrictions_; | 844 int content_restrictions_; |
844 | 845 |
845 DISALLOW_COPY_AND_ASSIGN(TabContents); | 846 DISALLOW_COPY_AND_ASSIGN(TabContents); |
846 }; | 847 }; |
847 | 848 |
848 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 849 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |