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

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

Issue 1205033005: Adds selection expansion support for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 bool IsRenderViewLive() const override; 170 bool IsRenderViewLive() const override;
171 void NotifyMoveOrResizeStarted() override; 171 void NotifyMoveOrResizeStarted() override;
172 void SetWebUIProperty(const std::string& name, 172 void SetWebUIProperty(const std::string& name,
173 const std::string& value) override; 173 const std::string& value) override;
174 void Zoom(PageZoom zoom) override; 174 void Zoom(PageZoom zoom) override;
175 void SyncRendererPrefs() override; 175 void SyncRendererPrefs() override;
176 WebPreferences GetWebkitPreferences() override; 176 WebPreferences GetWebkitPreferences() override;
177 void UpdateWebkitPreferences(const WebPreferences& prefs) override; 177 void UpdateWebkitPreferences(const WebPreferences& prefs) override;
178 void OnWebkitPreferencesChanged() override; 178 void OnWebkitPreferencesChanged() override;
179 void SelectWordAroundCaret() override; 179 void SelectWordAroundCaret() override;
180 void MoveSelectionByCharacterOffset(int startAdjust, int endAdjust) override;
pedro (no code reviews) 2015/06/25 01:30:28 nit: MoveSelectionByCharacterOffset() --> ExpandSe
180 181
181 #if defined(OS_ANDROID) 182 #if defined(OS_ANDROID)
182 void ActivateNearestFindResult(int request_id, float x, float y) override; 183 void ActivateNearestFindResult(int request_id, float x, float y) override;
183 void RequestFindMatchRects(int current_version) override; 184 void RequestFindMatchRects(int current_version) override;
184 #endif 185 #endif
185 186
186 // RenderProcessHostObserver implementation 187 // RenderProcessHostObserver implementation
187 void RenderProcessExited(RenderProcessHost* host, 188 void RenderProcessExited(RenderProcessHost* host,
188 base::TerminationStatus status, 189 base::TerminationStatus status,
189 int exit_code) override; 190 int exit_code) override;
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 472 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
472 }; 473 };
473 474
474 #if defined(COMPILER_MSVC) 475 #if defined(COMPILER_MSVC)
475 #pragma warning(pop) 476 #pragma warning(pop)
476 #endif 477 #endif
477 478
478 } // namespace content 479 } // namespace content
479 480
480 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 481 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698