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

Side by Side Diff: chrome/renderer/render_view.h

Issue 6363001: Makes chrome pass down the length of text as the end of the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for selection_end and fix selectionStart Created 9 years, 11 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 | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 const gfx::Point& screen_pt, 911 const gfx::Point& screen_pt,
912 WebKit::WebDragOperationsMask operations_allowed); 912 WebKit::WebDragOperationsMask operations_allowed);
913 void OnEnablePreferredSizeChangedMode(int flags); 913 void OnEnablePreferredSizeChangedMode(int flags);
914 void OnSearchBoxChange(const string16& value, 914 void OnSearchBoxChange(const string16& value,
915 bool verbatim, 915 bool verbatim,
916 int selection_start, 916 int selection_start,
917 int selection_end); 917 int selection_end);
918 void OnSearchBoxSubmit(const string16& value, bool verbatim); 918 void OnSearchBoxSubmit(const string16& value, bool verbatim);
919 void OnSearchBoxCancel(); 919 void OnSearchBoxCancel();
920 void OnSearchBoxResize(const gfx::Rect& bounds); 920 void OnSearchBoxResize(const gfx::Rect& bounds);
921 void OnDetermineIfPageSupportsInstant(const string16& value, bool verbatim); 921 void OnDetermineIfPageSupportsInstant(const string16& value,
922 bool verbatim,
923 int selection_start,
924 int selection_end);
922 void OnEnableViewSourceMode(); 925 void OnEnableViewSourceMode();
923 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params); 926 void OnExecuteCode(const ViewMsg_ExecuteCode_Params& params);
924 void OnExecuteEditCommand(const std::string& name, const std::string& value); 927 void OnExecuteEditCommand(const std::string& name, const std::string& value);
925 void OnExtensionMessageInvoke(const std::string& extension_id, 928 void OnExtensionMessageInvoke(const std::string& extension_id,
926 const std::string& function_name, 929 const std::string& function_name,
927 const ListValue& args, 930 const ListValue& args,
928 const GURL& event_url); 931 const GURL& event_url);
929 void OnFileChooserResponse(const std::vector<FilePath>& paths); 932 void OnFileChooserResponse(const std::vector<FilePath>& paths);
930 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); 933 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&);
931 void OnFindReplyAck(); 934 void OnFindReplyAck();
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1533 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1531 // sections rather than throwing it randomly at the end. If you're adding a 1534 // sections rather than throwing it randomly at the end. If you're adding a
1532 // bunch of stuff, you should probably create a helper class and put your 1535 // bunch of stuff, you should probably create a helper class and put your
1533 // data and methods on that to avoid bloating RenderView more. 1536 // data and methods on that to avoid bloating RenderView more.
1534 // --------------------------------------------------------------------------- 1537 // ---------------------------------------------------------------------------
1535 1538
1536 DISALLOW_COPY_AND_ASSIGN(RenderView); 1539 DISALLOW_COPY_AND_ASSIGN(RenderView);
1537 }; 1540 };
1538 1541
1539 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1542 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698