| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 const NativeWebKeyboardEvent& event) OVERRIDE; | 305 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 306 virtual void HandleMouseDown() OVERRIDE; | 306 virtual void HandleMouseDown() OVERRIDE; |
| 307 virtual void HandleMouseUp() OVERRIDE; | 307 virtual void HandleMouseUp() OVERRIDE; |
| 308 virtual void HandleMouseActivate() OVERRIDE; | 308 virtual void HandleMouseActivate() OVERRIDE; |
| 309 virtual void RunFileChooser( | 309 virtual void RunFileChooser( |
| 310 RenderViewHost* render_view_host, | 310 RenderViewHost* render_view_host, |
| 311 const content::FileChooserParams& params) OVERRIDE; | 311 const content::FileChooserParams& params) OVERRIDE; |
| 312 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 312 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 313 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; | 313 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; |
| 314 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | 314 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 315 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; |
| 315 virtual void WebUISend(RenderViewHost* render_view_host, | 316 virtual void WebUISend(RenderViewHost* render_view_host, |
| 316 const GURL& source_url, | 317 const GURL& source_url, |
| 317 const std::string& name, | 318 const std::string& name, |
| 318 const base::ListValue& args) OVERRIDE; | 319 const base::ListValue& args) OVERRIDE; |
| 319 virtual void RequestToLockMouse() OVERRIDE; | 320 virtual void RequestToLockMouse() OVERRIDE; |
| 320 virtual void LostMouseLock() OVERRIDE; | 321 virtual void LostMouseLock() OVERRIDE; |
| 321 | 322 |
| 322 // RenderViewHostManager::Delegate ------------------------------------------- | 323 // RenderViewHostManager::Delegate ------------------------------------------- |
| 323 | 324 |
| 324 virtual bool CreateRenderViewForRenderManager( | 325 virtual bool CreateRenderViewForRenderManager( |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 // (full-page plugins for now only) permissions. | 650 // (full-page plugins for now only) permissions. |
| 650 int content_restrictions_; | 651 int content_restrictions_; |
| 651 | 652 |
| 652 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. | 653 // Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
| 653 content::ViewType view_type_; | 654 content::ViewType view_type_; |
| 654 | 655 |
| 655 DISALLOW_COPY_AND_ASSIGN(TabContents); | 656 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 656 }; | 657 }; |
| 657 | 658 |
| 658 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 659 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |