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

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

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 539 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
540 bool has_vertical_scrollbar); 540 bool has_vertical_scrollbar);
541 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 541 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
542 bool is_pinned_to_right); 542 bool is_pinned_to_right);
543 void OnDidChangeNumWheelEvents(int count); 543 void OnDidChangeNumWheelEvents(int count);
544 void OnSelectionChanged(const base::string16& text, 544 void OnSelectionChanged(const base::string16& text,
545 size_t offset, 545 size_t offset,
546 const gfx::Range& range); 546 const gfx::Range& range);
547 void OnSelectionBoundsChanged( 547 void OnSelectionBoundsChanged(
548 const ViewHostMsg_SelectionBounds_Params& params); 548 const ViewHostMsg_SelectionBounds_Params& params);
549 #if defined(OS_ANDROID)
550 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds);
551 #endif
549 void OnPasteFromSelectionClipboard(); 552 void OnPasteFromSelectionClipboard();
550 void OnRouteCloseEvent(); 553 void OnRouteCloseEvent();
551 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 554 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
552 void OnRunJavaScriptMessage(const base::string16& message, 555 void OnRunJavaScriptMessage(const base::string16& message,
553 const base::string16& default_prompt, 556 const base::string16& default_prompt,
554 const GURL& frame_url, 557 const GURL& frame_url,
555 JavaScriptMessageType type, 558 JavaScriptMessageType type,
556 IPC::Message* reply_msg); 559 IPC::Message* reply_msg);
557 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 560 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
558 const base::string16& message, 561 const base::string16& message,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 723 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
721 }; 724 };
722 725
723 #if defined(COMPILER_MSVC) 726 #if defined(COMPILER_MSVC)
724 #pragma warning(pop) 727 #pragma warning(pop)
725 #endif 728 #endif
726 729
727 } // namespace content 730 } // namespace content
728 731
729 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 732 #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