| 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_DELEGATE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 int main_frame_route_id, | 397 int main_frame_route_id, |
| 398 const ViewHostMsg_CreateWindow_Params& params, | 398 const ViewHostMsg_CreateWindow_Params& params, |
| 399 SessionStorageNamespace* session_storage_namespace) {} | 399 SessionStorageNamespace* session_storage_namespace) {} |
| 400 | 400 |
| 401 // The page is trying to open a new widget (e.g. a select popup). The | 401 // The page is trying to open a new widget (e.g. a select popup). The |
| 402 // widget should be created associated with the given route, but it should | 402 // widget should be created associated with the given route, but it should |
| 403 // not be shown yet. That should happen in response to ShowCreatedWidget. | 403 // not be shown yet. That should happen in response to ShowCreatedWidget. |
| 404 // |popup_type| indicates if the widget is a popup and what kind of popup it | 404 // |popup_type| indicates if the widget is a popup and what kind of popup it |
| 405 // is (select, autofill...). | 405 // is (select, autofill...). |
| 406 virtual void CreateNewWidget(int route_id, | 406 virtual void CreateNewWidget(int route_id, |
| 407 WebKit::WebPopupType popup_type) {} | 407 blink::WebPopupType popup_type) {} |
| 408 | 408 |
| 409 // Creates a full screen RenderWidget. Similar to above. | 409 // Creates a full screen RenderWidget. Similar to above. |
| 410 virtual void CreateNewFullscreenWidget(int route_id) {} | 410 virtual void CreateNewFullscreenWidget(int route_id) {} |
| 411 | 411 |
| 412 // Show a previously created page with the specified disposition and bounds. | 412 // Show a previously created page with the specified disposition and bounds. |
| 413 // The window is identified by the route_id passed to CreateNewWindow. | 413 // The window is identified by the route_id passed to CreateNewWindow. |
| 414 // | 414 // |
| 415 // Note: this is not called "ShowWindow" because that will clash with | 415 // Note: this is not called "ShowWindow" because that will clash with |
| 416 // the Windows function which is actually a #define. | 416 // the Windows function which is actually a #define. |
| 417 virtual void ShowCreatedWindow(int route_id, | 417 virtual void ShowCreatedWindow(int route_id, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 // created by the RenderViewHost. | 450 // created by the RenderViewHost. |
| 451 virtual FrameTree* GetFrameTree(); | 451 virtual FrameTree* GetFrameTree(); |
| 452 | 452 |
| 453 protected: | 453 protected: |
| 454 virtual ~RenderViewHostDelegate() {} | 454 virtual ~RenderViewHostDelegate() {} |
| 455 }; | 455 }; |
| 456 | 456 |
| 457 } // namespace content | 457 } // namespace content |
| 458 | 458 |
| 459 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 459 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |