| 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_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 virtual void HandleMouseDown() OVERRIDE; | 361 virtual void HandleMouseDown() OVERRIDE; |
| 362 virtual void HandleMouseUp() OVERRIDE; | 362 virtual void HandleMouseUp() OVERRIDE; |
| 363 virtual void HandleMouseActivate() OVERRIDE; | 363 virtual void HandleMouseActivate() OVERRIDE; |
| 364 virtual void RunFileChooser( | 364 virtual void RunFileChooser( |
| 365 content::RenderViewHost* render_view_host, | 365 content::RenderViewHost* render_view_host, |
| 366 const content::FileChooserParams& params) OVERRIDE; | 366 const content::FileChooserParams& params) OVERRIDE; |
| 367 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; | 367 virtual void ToggleFullscreenMode(bool enter_fullscreen) OVERRIDE; |
| 368 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; | 368 virtual bool IsFullscreenForCurrentTab() const OVERRIDE; |
| 369 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | 369 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; |
| 370 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; | 370 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) OVERRIDE; |
| 371 virtual void RequestToLockMouse(bool user_gesture) OVERRIDE; | 371 virtual void RequestToLockMouse(bool user_gesture, |
| 372 bool after_unlocked_by_target) OVERRIDE; |
| 372 virtual void LostMouseLock() OVERRIDE; | 373 virtual void LostMouseLock() OVERRIDE; |
| 373 virtual void CreateNewWindow( | 374 virtual void CreateNewWindow( |
| 374 int route_id, | 375 int route_id, |
| 375 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 376 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 376 virtual void CreateNewWidget(int route_id, | 377 virtual void CreateNewWidget(int route_id, |
| 377 WebKit::WebPopupType popup_type) OVERRIDE; | 378 WebKit::WebPopupType popup_type) OVERRIDE; |
| 378 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 379 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
| 379 virtual void ShowCreatedWindow(int route_id, | 380 virtual void ShowCreatedWindow(int route_id, |
| 380 WindowOpenDisposition disposition, | 381 WindowOpenDisposition disposition, |
| 381 const gfx::Rect& initial_pos, | 382 const gfx::Rect& initial_pos, |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 content::ColorChooser* color_chooser_; | 790 content::ColorChooser* color_chooser_; |
| 790 | 791 |
| 791 // This must be at the end, or else we might get notifications and use other | 792 // This must be at the end, or else we might get notifications and use other |
| 792 // member variables that are gone. | 793 // member variables that are gone. |
| 793 content::NotificationRegistrar registrar_; | 794 content::NotificationRegistrar registrar_; |
| 794 | 795 |
| 795 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 796 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 796 }; | 797 }; |
| 797 | 798 |
| 798 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 799 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |