Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 1203223002: [Experimental, WIP] Demo version of extracting WebView selection data from CompositorFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 void OnPasteFromSelectionClipboard(); 359 void OnPasteFromSelectionClipboard();
360 void OnRouteCloseEvent(); 360 void OnRouteCloseEvent();
361 void OnStartDragging(const DropData& drop_data, 361 void OnStartDragging(const DropData& drop_data,
362 blink::WebDragOperationsMask operations_allowed, 362 blink::WebDragOperationsMask operations_allowed,
363 const SkBitmap& bitmap, 363 const SkBitmap& bitmap,
364 const gfx::Vector2d& bitmap_offset_in_dip, 364 const gfx::Vector2d& bitmap_offset_in_dip,
365 const DragEventSourceInfo& event_info); 365 const DragEventSourceInfo& event_info);
366 void OnUpdateDragCursor(blink::WebDragOperation drag_operation); 366 void OnUpdateDragCursor(blink::WebDragOperation drag_operation);
367 void OnTargetDropACK(); 367 void OnTargetDropACK();
368 void OnTakeFocus(bool reverse); 368 void OnTakeFocus(bool reverse);
369 void OnFocusedNodeChanged(bool is_editable_node, 369 void OnFocusedNodeChanged(bool is_editable_node, bool is_plugin_node,
370 const gfx::Rect& node_bounds_in_viewport); 370 const gfx::Rect& node_bounds_in_viewport);
371 void OnClosePageACK(); 371 void OnClosePageACK();
372 void OnDidZoomURL(double zoom_level, const GURL& url); 372 void OnDidZoomURL(double zoom_level, const GURL& url);
373 void OnPageScaleFactorIsOneChanged(bool is_one); 373 void OnPageScaleFactorIsOneChanged(bool is_one);
374 void OnRunFileChooser(const FileChooserParams& params); 374 void OnRunFileChooser(const FileChooserParams& params);
375 void OnFocusedNodeTouched(bool editable); 375 void OnFocusedNodeTouched(bool editable);
376 376
377 private: 377 private:
378 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate 378 // TODO(nasko): Temporarily friend RenderFrameHostImpl, so we don't duplicate
379 // utility functions and state needed in both classes, while we move frame 379 // utility functions and state needed in both classes, while we move frame
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 471 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
472 }; 472 };
473 473
474 #if defined(COMPILER_MSVC) 474 #if defined(COMPILER_MSVC)
475 #pragma warning(pop) 475 #pragma warning(pop)
476 #endif 476 #endif
477 477
478 } // namespace content 478 } // namespace content
479 479
480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698