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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 bool OnMessageReceived(const IPC::Message& msg) override; | 279 bool OnMessageReceived(const IPC::Message& msg) override; |
280 void GotFocus() override; | 280 void GotFocus() override; |
281 void LostCapture() override; | 281 void LostCapture() override; |
282 void LostMouseLock() override; | 282 void LostMouseLock() override; |
283 void SetIsLoading(bool is_loading) override; | 283 void SetIsLoading(bool is_loading) override; |
284 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; | 284 void ForwardMouseEvent(const blink::WebMouseEvent& mouse_event) override; |
285 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; | 285 void ForwardKeyboardEvent(const NativeWebKeyboardEvent& key_event) override; |
286 gfx::Rect GetRootWindowResizerRect() const override; | 286 gfx::Rect GetRootWindowResizerRect() const override; |
287 | 287 |
288 // Creates a new RenderView with the given route id. | 288 // Creates a new RenderView with the given route id. |
289 void CreateNewWindow( | 289 void CreateNewWindow(int32 route_id, |
290 int route_id, | 290 int32 main_frame_route_id, |
291 int main_frame_route_id, | 291 int32 main_frame_widget_route_id, |
292 const ViewHostMsg_CreateWindow_Params& params, | 292 const ViewHostMsg_CreateWindow_Params& params, |
293 SessionStorageNamespace* session_storage_namespace); | 293 SessionStorageNamespace* session_storage_namespace); |
294 | 294 |
295 // Creates a new RenderWidget with the given route id. |popup_type| indicates | 295 // Creates a new RenderWidget with the given route id. |popup_type| indicates |
296 // if this widget is a popup and what kind of popup it is (select, autofill). | 296 // if this widget is a popup and what kind of popup it is (select, autofill). |
297 void CreateNewWidget(int route_id, blink::WebPopupType popup_type); | 297 void CreateNewWidget(int route_id, blink::WebPopupType popup_type); |
298 | 298 |
299 // Creates a full screen RenderWidget. | 299 // Creates a full screen RenderWidget. |
300 void CreateNewFullscreenWidget(int route_id); | 300 void CreateNewFullscreenWidget(int route_id); |
301 | 301 |
302 int main_frame_routing_id() const { | 302 int main_frame_routing_id() const { |
303 return main_frame_routing_id_; | 303 return main_frame_routing_id_; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 481 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
482 }; | 482 }; |
483 | 483 |
484 #if defined(COMPILER_MSVC) | 484 #if defined(COMPILER_MSVC) |
485 #pragma warning(pop) | 485 #pragma warning(pop) |
486 #endif | 486 #endif |
487 | 487 |
488 } // namespace content | 488 } // namespace content |
489 | 489 |
490 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 490 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |