| 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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 714 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 715 bool* is_keyboard_shortcut) OVERRIDE; | 715 bool* is_keyboard_shortcut) OVERRIDE; |
| 716 virtual void HandleKeyboardEvent( | 716 virtual void HandleKeyboardEvent( |
| 717 const NativeWebKeyboardEvent& event) OVERRIDE; | 717 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 718 virtual void HandleMouseUp() OVERRIDE; | 718 virtual void HandleMouseUp() OVERRIDE; |
| 719 virtual void HandleMouseActivate() OVERRIDE; | 719 virtual void HandleMouseActivate() OVERRIDE; |
| 720 virtual bool OnMessageReceived(const IPC::Message& message); | 720 virtual bool OnMessageReceived(const IPC::Message& message); |
| 721 virtual void RunFileChooser(RenderViewHost* render_view_host, | 721 virtual void RunFileChooser(RenderViewHost* render_view_host, |
| 722 const ViewHostMsg_RunFileChooser_Params& params); | 722 const ViewHostMsg_RunFileChooser_Params& params); |
| 723 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 723 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 724 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 724 | 725 |
| 725 // RenderViewHostManager::Delegate ------------------------------------------- | 726 // RenderViewHostManager::Delegate ------------------------------------------- |
| 726 | 727 |
| 727 // Blocks/unblocks interaction with renderer process. | 728 // Blocks/unblocks interaction with renderer process. |
| 728 void BlockTabContent(bool blocked); | 729 void BlockTabContent(bool blocked); |
| 729 | 730 |
| 730 virtual void BeforeUnloadFiredFromRenderManager( | 731 virtual void BeforeUnloadFiredFromRenderManager( |
| 731 bool proceed, | 732 bool proceed, |
| 732 bool* proceed_to_fire_unload); | 733 bool* proceed_to_fire_unload); |
| 733 virtual void DidStartLoadingFromRenderManager( | 734 virtual void DidStartLoadingFromRenderManager( |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 ObserverList<TabContentsObserver> observers_; | 880 ObserverList<TabContentsObserver> observers_; |
| 880 | 881 |
| 881 // Content restrictions, used to disable print/copy etc based on content's | 882 // Content restrictions, used to disable print/copy etc based on content's |
| 882 // (full-page plugins for now only) permissions. | 883 // (full-page plugins for now only) permissions. |
| 883 int content_restrictions_; | 884 int content_restrictions_; |
| 884 | 885 |
| 885 DISALLOW_COPY_AND_ASSIGN(TabContents); | 886 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 886 }; | 887 }; |
| 887 | 888 |
| 888 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 889 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |