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

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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 572 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
573 bool has_vertical_scrollbar); 573 bool has_vertical_scrollbar);
574 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 574 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
575 bool is_pinned_to_right); 575 bool is_pinned_to_right);
576 void OnDidChangeNumWheelEvents(int count); 576 void OnDidChangeNumWheelEvents(int count);
577 void OnSelectionChanged(const base::string16& text, 577 void OnSelectionChanged(const base::string16& text,
578 size_t offset, 578 size_t offset,
579 const gfx::Range& range); 579 const gfx::Range& range);
580 void OnSelectionBoundsChanged( 580 void OnSelectionBoundsChanged(
581 const ViewHostMsg_SelectionBounds_Params& params); 581 const ViewHostMsg_SelectionBounds_Params& params);
582 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds);
582 void OnPasteFromSelectionClipboard(); 583 void OnPasteFromSelectionClipboard();
583 void OnRouteCloseEvent(); 584 void OnRouteCloseEvent();
584 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 585 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
585 void OnRunJavaScriptMessage(const base::string16& message, 586 void OnRunJavaScriptMessage(const base::string16& message,
586 const base::string16& default_prompt, 587 const base::string16& default_prompt,
587 const GURL& frame_url, 588 const GURL& frame_url,
588 JavaScriptMessageType type, 589 JavaScriptMessageType type,
589 IPC::Message* reply_msg); 590 IPC::Message* reply_msg);
590 void OnRunBeforeUnloadConfirm(const GURL& frame_url, 591 void OnRunBeforeUnloadConfirm(const GURL& frame_url,
591 const base::string16& message, 592 const base::string16& message,
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 757 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
757 }; 758 };
758 759
759 #if defined(COMPILER_MSVC) 760 #if defined(COMPILER_MSVC)
760 #pragma warning(pop) 761 #pragma warning(pop)
761 #endif 762 #endif
762 763
763 } // namespace content 764 } // namespace content
764 765
765 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 766 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698