| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 void OnShowFullscreenWidget(int route_id); | 258 void OnShowFullscreenWidget(int route_id); |
| 259 void OnRenderProcessGone(int status, int error_code); | 259 void OnRenderProcessGone(int status, int error_code); |
| 260 void OnUpdateState(const PageState& state); | 260 void OnUpdateState(const PageState& state); |
| 261 void OnUpdateTargetURL(const GURL& url); | 261 void OnUpdateTargetURL(const GURL& url); |
| 262 void OnClose(); | 262 void OnClose(); |
| 263 void OnRequestMove(const gfx::Rect& pos); | 263 void OnRequestMove(const gfx::Rect& pos); |
| 264 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); | 264 void OnDocumentAvailableInMainFrame(bool uses_temporary_zoom_level); |
| 265 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); | 265 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); |
| 266 void OnPasteFromSelectionClipboard(); | 266 void OnPasteFromSelectionClipboard(); |
| 267 void OnRouteCloseEvent(); | 267 void OnRouteCloseEvent(); |
| 268 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); | |
| 269 void OnTakeFocus(bool reverse); | 268 void OnTakeFocus(bool reverse); |
| 270 void OnFocusedNodeChanged(bool is_editable_node, | 269 void OnFocusedNodeChanged(bool is_editable_node, |
| 271 const gfx::Rect& node_bounds_in_viewport); | 270 const gfx::Rect& node_bounds_in_viewport); |
| 272 void OnClosePageACK(); | 271 void OnClosePageACK(); |
| 273 void OnDidZoomURL(double zoom_level, const GURL& url); | 272 void OnDidZoomURL(double zoom_level, const GURL& url); |
| 274 void OnFocusedNodeTouched(bool editable); | 273 void OnFocusedNodeTouched(bool editable); |
| 275 void OnFocus(); | 274 void OnFocus(); |
| 276 | 275 |
| 277 private: | 276 private: |
| 278 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate | 277 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 bool render_view_ready_on_process_launch_; | 355 bool render_view_ready_on_process_launch_; |
| 357 | 356 |
| 358 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 357 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
| 359 | 358 |
| 360 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 359 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 361 }; | 360 }; |
| 362 | 361 |
| 363 } // namespace content | 362 } // namespace content |
| 364 | 363 |
| 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 364 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |