OLD | NEW |
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 Loading... |
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 ExpandSelectionByCharacterOffset(int startAdjust, |
| 181 int endAdjust) override; |
180 | 182 |
181 #if defined(OS_ANDROID) | 183 #if defined(OS_ANDROID) |
182 void ActivateNearestFindResult(int request_id, float x, float y) override; | 184 void ActivateNearestFindResult(int request_id, float x, float y) override; |
183 void RequestFindMatchRects(int current_version) override; | 185 void RequestFindMatchRects(int current_version) override; |
184 #endif | 186 #endif |
185 | 187 |
186 // RenderProcessHostObserver implementation | 188 // RenderProcessHostObserver implementation |
187 void RenderProcessExited(RenderProcessHost* host, | 189 void RenderProcessExited(RenderProcessHost* host, |
188 base::TerminationStatus status, | 190 base::TerminationStatus status, |
189 int exit_code) override; | 191 int exit_code) override; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 474 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
473 }; | 475 }; |
474 | 476 |
475 #if defined(COMPILER_MSVC) | 477 #if defined(COMPILER_MSVC) |
476 #pragma warning(pop) | 478 #pragma warning(pop) |
477 #endif | 479 #endif |
478 | 480 |
479 } // namespace content | 481 } // namespace content |
480 | 482 |
481 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 483 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |