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

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

Issue 10855036: Adding selection text direction to SelectionBoundsChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); 490 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
491 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 491 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
492 bool has_vertical_scrollbar); 492 bool has_vertical_scrollbar);
493 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 493 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
494 bool is_pinned_to_right); 494 bool is_pinned_to_right);
495 void OnMsgDidChangeNumWheelEvents(int count); 495 void OnMsgDidChangeNumWheelEvents(int count);
496 void OnMsgSelectionChanged(const string16& text, 496 void OnMsgSelectionChanged(const string16& text,
497 size_t offset, 497 size_t offset,
498 const ui::Range& range); 498 const ui::Range& range);
499 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, 499 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect,
500 const gfx::Rect& end_rect); 500 WebKit::WebTextDirection start_direction,
501 const gfx::Rect& end_rect,
502 WebKit::WebTextDirection end_direction);
501 void OnMsgPasteFromSelectionClipboard(); 503 void OnMsgPasteFromSelectionClipboard();
502 void OnMsgRouteCloseEvent(); 504 void OnMsgRouteCloseEvent();
503 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 505 void OnMsgRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
504 void OnMsgRunJavaScriptMessage(const string16& message, 506 void OnMsgRunJavaScriptMessage(const string16& message,
505 const string16& default_prompt, 507 const string16& default_prompt,
506 const GURL& frame_url, 508 const GURL& frame_url,
507 content::JavaScriptMessageType type, 509 content::JavaScriptMessageType type,
508 IPC::Message* reply_msg); 510 IPC::Message* reply_msg);
509 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, 511 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url,
510 const string16& message, 512 const string16& message,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 662 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
661 }; 663 };
662 664
663 #if defined(COMPILER_MSVC) 665 #if defined(COMPILER_MSVC)
664 #pragma warning(pop) 666 #pragma warning(pop)
665 #endif 667 #endif
666 668
667 } // namespace content 669 } // namespace content
668 670
669 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 671 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698