| 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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 virtual void GotFocus() OVERRIDE; | 359 virtual void GotFocus() OVERRIDE; |
| 360 virtual void LostCapture() OVERRIDE; | 360 virtual void LostCapture() OVERRIDE; |
| 361 virtual void LostMouseLock() OVERRIDE; | 361 virtual void LostMouseLock() OVERRIDE; |
| 362 virtual void ForwardMouseEvent( | 362 virtual void ForwardMouseEvent( |
| 363 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; | 363 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
| 364 virtual void OnPointerEventActivate() OVERRIDE; | 364 virtual void OnPointerEventActivate() OVERRIDE; |
| 365 virtual void ForwardKeyboardEvent( | 365 virtual void ForwardKeyboardEvent( |
| 366 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 366 const NativeWebKeyboardEvent& key_event) OVERRIDE; |
| 367 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 367 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 368 | 368 |
| 369 #if defined(OS_ANDROID) |
| 370 virtual void AttachLayer(WebKit::WebLayer* layer) OVERRIDE; |
| 371 virtual void RemoveLayer(WebKit::WebLayer* layer) OVERRIDE; |
| 372 #endif |
| 373 |
| 369 // Creates a new RenderView with the given route id. | 374 // Creates a new RenderView with the given route id. |
| 370 void CreateNewWindow( | 375 void CreateNewWindow( |
| 371 int route_id, | 376 int route_id, |
| 372 const ViewHostMsg_CreateWindow_Params& params, | 377 const ViewHostMsg_CreateWindow_Params& params, |
| 373 SessionStorageNamespace* session_storage_namespace); | 378 SessionStorageNamespace* session_storage_namespace); |
| 374 | 379 |
| 375 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 380 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
| 376 // if this widget is a popup and what kind of popup it is (select, autofill). | 381 // if this widget is a popup and what kind of popup it is (select, autofill). |
| 377 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 382 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
| 378 | 383 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 671 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 667 }; | 672 }; |
| 668 | 673 |
| 669 #if defined(COMPILER_MSVC) | 674 #if defined(COMPILER_MSVC) |
| 670 #pragma warning(pop) | 675 #pragma warning(pop) |
| 671 #endif | 676 #endif |
| 672 | 677 |
| 673 } // namespace content | 678 } // namespace content |
| 674 | 679 |
| 675 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |