| 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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 721 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 722 bool* is_keyboard_shortcut) OVERRIDE; | 722 bool* is_keyboard_shortcut) OVERRIDE; |
| 723 virtual void HandleKeyboardEvent( | 723 virtual void HandleKeyboardEvent( |
| 724 const NativeWebKeyboardEvent& event) OVERRIDE; | 724 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 725 virtual void HandleMouseUp() OVERRIDE; | 725 virtual void HandleMouseUp() OVERRIDE; |
| 726 virtual void HandleMouseActivate() OVERRIDE; | 726 virtual void HandleMouseActivate() OVERRIDE; |
| 727 virtual bool OnMessageReceived(const IPC::Message& message); | 727 virtual bool OnMessageReceived(const IPC::Message& message); |
| 728 virtual void RunFileChooser(RenderViewHost* render_view_host, | 728 virtual void RunFileChooser(RenderViewHost* render_view_host, |
| 729 const ViewHostMsg_RunFileChooser_Params& params); | 729 const ViewHostMsg_RunFileChooser_Params& params); |
| 730 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 730 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 731 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; |
| 731 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | 732 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 732 | 733 |
| 733 // RenderViewHostManager::Delegate ------------------------------------------- | 734 // RenderViewHostManager::Delegate ------------------------------------------- |
| 734 | 735 |
| 735 // Blocks/unblocks interaction with renderer process. | 736 // Blocks/unblocks interaction with renderer process. |
| 736 void BlockTabContent(bool blocked); | 737 void BlockTabContent(bool blocked); |
| 737 | 738 |
| 738 virtual void BeforeUnloadFiredFromRenderManager( | 739 virtual void BeforeUnloadFiredFromRenderManager( |
| 739 bool proceed, | 740 bool proceed, |
| 740 bool* proceed_to_fire_unload); | 741 bool* proceed_to_fire_unload); |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 ObserverList<TabContentsObserver> observers_; | 888 ObserverList<TabContentsObserver> observers_; |
| 888 | 889 |
| 889 // Content restrictions, used to disable print/copy etc based on content's | 890 // Content restrictions, used to disable print/copy etc based on content's |
| 890 // (full-page plugins for now only) permissions. | 891 // (full-page plugins for now only) permissions. |
| 891 int content_restrictions_; | 892 int content_restrictions_; |
| 892 | 893 |
| 893 DISALLOW_COPY_AND_ASSIGN(TabContents); | 894 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 894 }; | 895 }; |
| 895 | 896 |
| 896 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 897 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |