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