| 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 542 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 543 bool* is_keyboard_shortcut) OVERRIDE; | 543 bool* is_keyboard_shortcut) OVERRIDE; |
| 544 virtual void HandleKeyboardEvent( | 544 virtual void HandleKeyboardEvent( |
| 545 const NativeWebKeyboardEvent& event) OVERRIDE; | 545 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 546 virtual void HandleMouseDown() OVERRIDE; | 546 virtual void HandleMouseDown() OVERRIDE; |
| 547 virtual void HandleMouseUp() OVERRIDE; | 547 virtual void HandleMouseUp() OVERRIDE; |
| 548 virtual void HandleMouseActivate() OVERRIDE; | 548 virtual void HandleMouseActivate() OVERRIDE; |
| 549 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 549 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 550 virtual void RunFileChooser( | 550 virtual void RunFileChooser( |
| 551 RenderViewHost* render_view_host, | 551 RenderViewHost* render_view_host, |
| 552 const ViewHostMsg_RunFileChooser_Params& params) OVERRIDE; | 552 const content::FileChooserParams& params) OVERRIDE; |
| 553 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 553 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 554 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; | 554 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; |
| 555 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | 555 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 556 virtual void WebUISend(RenderViewHost* render_view_host, | 556 virtual void WebUISend(RenderViewHost* render_view_host, |
| 557 const GURL& source_url, | 557 const GURL& source_url, |
| 558 const std::string& name, | 558 const std::string& name, |
| 559 const base::ListValue& args) OVERRIDE; | 559 const base::ListValue& args) OVERRIDE; |
| 560 virtual void RequestToLockMouse() OVERRIDE; | 560 virtual void RequestToLockMouse() OVERRIDE; |
| 561 virtual void LostMouseLock() OVERRIDE; | 561 virtual void LostMouseLock() OVERRIDE; |
| 562 | 562 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 // (full-page plugins for now only) permissions. | 871 // (full-page plugins for now only) permissions. |
| 872 int content_restrictions_; | 872 int content_restrictions_; |
| 873 | 873 |
| 874 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 874 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 875 content::ViewType view_type_; | 875 content::ViewType view_type_; |
| 876 | 876 |
| 877 DISALLOW_COPY_AND_ASSIGN(TabContents); | 877 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 878 }; | 878 }; |
| 879 | 879 |
| 880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 880 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |