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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1205033005: Adds selection expansion support for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch from RenderView to RenderFrame 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 unsigned action); 636 unsigned action);
637 void OnUndo(); 637 void OnUndo();
638 void OnRedo(); 638 void OnRedo();
639 void OnCut(); 639 void OnCut();
640 void OnCopy(); 640 void OnCopy();
641 void OnPaste(); 641 void OnPaste();
642 void OnPasteAndMatchStyle(); 642 void OnPasteAndMatchStyle();
643 void OnDelete(); 643 void OnDelete();
644 void OnSelectAll(); 644 void OnSelectAll();
645 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent); 645 void OnSelectRange(const gfx::Point& base, const gfx::Point& extent);
646 void OnExpandSelectionByCharacterOffset(int start_adjust, int end_adjust);
646 void OnUnselect(); 647 void OnUnselect();
647 void OnMoveRangeSelectionExtent(const gfx::Point& point); 648 void OnMoveRangeSelectionExtent(const gfx::Point& point);
648 void OnReplace(const base::string16& text); 649 void OnReplace(const base::string16& text);
649 void OnReplaceMisspelling(const base::string16& text); 650 void OnReplaceMisspelling(const base::string16& text);
650 void OnCSSInsertRequest(const std::string& css); 651 void OnCSSInsertRequest(const std::string& css);
651 void OnAddMessageToConsole(ConsoleMessageLevel level, 652 void OnAddMessageToConsole(ConsoleMessageLevel level,
652 const std::string& message); 653 const std::string& message);
653 void OnJavaScriptExecuteRequest(const base::string16& javascript, 654 void OnJavaScriptExecuteRequest(const base::string16& javascript,
654 int id, 655 int id,
655 bool notify_result); 656 bool notify_result);
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 #endif 1008 #endif
1008 1009
1009 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1010 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1010 1011
1011 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1012 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1012 }; 1013 };
1013 1014
1014 } // namespace content 1015 } // namespace content
1015 1016
1016 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1017 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698