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 <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 bool OnMessageReceived(const IPC::Message& msg) override; | 284 bool OnMessageReceived(const IPC::Message& msg) override; |
285 void GotFocus() override; | 285 void GotFocus() override; |
286 void LostCapture() override; | 286 void LostCapture() override; |
287 void LostMouseLock() override; | 287 void LostMouseLock() override; |
288 void SetIsLoading(bool is_loading) override; | 288 void SetIsLoading(bool is_loading) override; |
289 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; | 289 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; |
290 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 290 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
291 gfx::Rect GetRootWindowResizerRect() const override; | 291 gfx::Rect GetRootWindowResizerRect() const override; |
292 | 292 |
293 // Creates a new RenderView with the given route id. | 293 // Creates a new RenderView with the given route id. |
294 void CreateNewWindow( | 294 void CreateNewWindow(int32_t route_id, |
295 int route_id, | 295 int32_t main_frame_route_id, |
296 int main_frame_route_id, | 296 int32_t main_frame_widget_route_id, |
297 const ViewHostMsg_CreateWindow_Params& params, | 297 const ViewHostMsg_CreateWindow_Params& params, |
298 SessionStorageNamespace* session_storage_namespace); | 298 SessionStorageNamespace* session_storage_namespace); |
299 | 299 |
300 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 300 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
301 // if this widget is a popup and what kind of popup it is (select, autofill). | 301 // if this widget is a popup and what kind of popup it is (select, autofill). |
302 void CreateNewWidget(int32 route_id, | 302 void CreateNewWidget(int32 route_id, |
303 blink::WebPopupType popup_type); | 303 blink::WebPopupType popup_type); |
304 | 304 |
305 // Creates a full screen RenderWidget. | 305 // Creates a full screen RenderWidget. |
306 void CreateNewFullscreenWidget(int32 route_id); | 306 void CreateNewFullscreenWidget(int32 route_id); |
307 | 307 |
308 void set_main_frame_routing_id(int routing_id) { | 308 void set_main_frame_routing_id(int routing_id) { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 491 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
492 }; | 492 }; |
493 | 493 |
494 #if defined(COMPILER_MSVC) | 494 #if defined(COMPILER_MSVC) |
495 #pragma warning(pop) | 495 #pragma warning(pop) |
496 #endif | 496 #endif |
497 | 497 |
498 } // namespace content | 498 } // namespace content |
499 | 499 |
500 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 500 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |