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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 virtual void Shutdown() OVERRIDE; | 364 virtual void Shutdown() OVERRIDE; |
365 virtual bool IsRenderView() const OVERRIDE; | 365 virtual bool IsRenderView() const OVERRIDE; |
366 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 366 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
367 virtual void GotFocus() OVERRIDE; | 367 virtual void GotFocus() OVERRIDE; |
368 virtual void LostCapture() OVERRIDE; | 368 virtual void LostCapture() OVERRIDE; |
369 virtual void LostMouseLock() OVERRIDE; | 369 virtual void LostMouseLock() OVERRIDE; |
370 virtual void ForwardMouseEvent( | 370 virtual void ForwardMouseEvent( |
371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; | 371 const WebKit::WebMouseEvent& mouse_event) OVERRIDE; |
372 virtual void OnMouseActivate() OVERRIDE; | 372 virtual void OnMouseActivate() OVERRIDE; |
373 virtual void ForwardKeyboardEvent( | 373 virtual void ForwardKeyboardEvent( |
374 const NativeWebKeyboardEvent& key_event) OVERRIDE; | 374 const content::NativeWebKeyboardEvent& key_event) OVERRIDE; |
375 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 375 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
376 | 376 |
377 // Creates a new RenderView with the given route id. | 377 // Creates a new RenderView with the given route id. |
378 void CreateNewWindow(int route_id, | 378 void CreateNewWindow(int route_id, |
379 const ViewHostMsg_CreateWindow_Params& params); | 379 const ViewHostMsg_CreateWindow_Params& params); |
380 | 380 |
381 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 381 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
382 // if this widget is a popup and what kind of popup it is (select, autofill). | 382 // if this widget is a popup and what kind of popup it is (select, autofill). |
383 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); | 383 void CreateNewWidget(int route_id, WebKit::WebPopupType popup_type); |
384 | 384 |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 651 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
652 }; | 652 }; |
653 | 653 |
654 #if defined(COMPILER_MSVC) | 654 #if defined(COMPILER_MSVC) |
655 #pragma warning(pop) | 655 #pragma warning(pop) |
656 #endif | 656 #endif |
657 | 657 |
658 } // namespace content | 658 } // namespace content |
659 | 659 |
660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 660 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |