| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 // Creates a full screen RenderWidget. Similar to above. | 243 // Creates a full screen RenderWidget. Similar to above. |
| 244 virtual void CreateNewFullscreenWidget(int render_process_id, int route_id) {} | 244 virtual void CreateNewFullscreenWidget(int render_process_id, int route_id) {} |
| 245 | 245 |
| 246 // Show a previously created page with the specified disposition and bounds. | 246 // Show a previously created page with the specified disposition and bounds. |
| 247 // The window is identified by the route_id passed to CreateNewWindow. | 247 // The window is identified by the route_id passed to CreateNewWindow. |
| 248 // | 248 // |
| 249 // Note: this is not called "ShowWindow" because that will clash with | 249 // Note: this is not called "ShowWindow" because that will clash with |
| 250 // the Windows function which is actually a #define. | 250 // the Windows function which is actually a #define. |
| 251 virtual void ShowCreatedWindow(int route_id, | 251 virtual void ShowCreatedWindow(int route_id, |
| 252 WindowOpenDisposition disposition, | 252 WindowOpenDisposition disposition, |
| 253 const gfx::Rect& initial_pos, | 253 const gfx::Rect& initial_rect, |
| 254 bool user_gesture) {} | 254 bool user_gesture) {} |
| 255 | 255 |
| 256 // Show the newly created widget with the specified bounds. | 256 // Show the newly created widget with the specified bounds. |
| 257 // The widget is identified by the route_id passed to CreateNewWidget. | 257 // The widget is identified by the route_id passed to CreateNewWidget. |
| 258 virtual void ShowCreatedWidget(int route_id, | 258 virtual void ShowCreatedWidget(int route_id, |
| 259 const gfx::Rect& initial_pos) {} | 259 const gfx::Rect& initial_rect) {} |
| 260 | 260 |
| 261 // Show the newly created full screen widget. Similar to above. | 261 // Show the newly created full screen widget. Similar to above. |
| 262 virtual void ShowCreatedFullscreenWidget(int route_id) {} | 262 virtual void ShowCreatedFullscreenWidget(int route_id) {} |
| 263 | 263 |
| 264 // Returns the SessionStorageNamespace the render view should use. Might | 264 // Returns the SessionStorageNamespace the render view should use. Might |
| 265 // create the SessionStorageNamespace on the fly. | 265 // create the SessionStorageNamespace on the fly. |
| 266 virtual SessionStorageNamespace* GetSessionStorageNamespace( | 266 virtual SessionStorageNamespace* GetSessionStorageNamespace( |
| 267 SiteInstance* instance); | 267 SiteInstance* instance); |
| 268 | 268 |
| 269 // Returns a copy of the map of all session storage namespaces related | 269 // Returns a copy of the map of all session storage namespaces related |
| (...skipping 17 matching lines...) Expand all Loading... |
| 287 virtual void SetIsVirtualKeyboardRequested(bool requested) {} | 287 virtual void SetIsVirtualKeyboardRequested(bool requested) {} |
| 288 virtual bool IsVirtualKeyboardRequested(); | 288 virtual bool IsVirtualKeyboardRequested(); |
| 289 | 289 |
| 290 protected: | 290 protected: |
| 291 virtual ~RenderViewHostDelegate() {} | 291 virtual ~RenderViewHostDelegate() {} |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 } // namespace content | 294 } // namespace content |
| 295 | 295 |
| 296 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 296 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |