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

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

Issue 1600953003: Move find-in-page code from RenderView to RenderFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void NotifyMoveOrResizeStarted() override; 143 void NotifyMoveOrResizeStarted() override;
144 void SetWebUIProperty(const std::string& name, 144 void SetWebUIProperty(const std::string& name,
145 const std::string& value) override; 145 const std::string& value) override;
146 void Zoom(PageZoom zoom) override; 146 void Zoom(PageZoom zoom) override;
147 void SyncRendererPrefs() override; 147 void SyncRendererPrefs() override;
148 WebPreferences GetWebkitPreferences() override; 148 WebPreferences GetWebkitPreferences() override;
149 void UpdateWebkitPreferences(const WebPreferences& prefs) override; 149 void UpdateWebkitPreferences(const WebPreferences& prefs) override;
150 void OnWebkitPreferencesChanged() override; 150 void OnWebkitPreferencesChanged() override;
151 void SelectWordAroundCaret() override; 151 void SelectWordAroundCaret() override;
152 152
153 #if defined(OS_ANDROID)
154 void ActivateNearestFindResult(int request_id, float x, float y) override;
155 void RequestFindMatchRects(int current_version) override;
156 #endif
157
158 // RenderProcessHostObserver implementation 153 // RenderProcessHostObserver implementation
159 void RenderProcessReady(RenderProcessHost* host) override; 154 void RenderProcessReady(RenderProcessHost* host) override;
160 void RenderProcessExited(RenderProcessHost* host, 155 void RenderProcessExited(RenderProcessHost* host,
161 base::TerminationStatus status, 156 base::TerminationStatus status,
162 int exit_code) override; 157 int exit_code) override;
163 158
164 void set_delegate(RenderViewHostDelegate* d) { 159 void set_delegate(RenderViewHostDelegate* d) {
165 CHECK(d); // http://crbug.com/82827 160 CHECK(d); // http://crbug.com/82827
166 delegate_ = d; 161 delegate_ = d;
167 } 162 }
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 bool render_view_ready_on_process_launch_; 426 bool render_view_ready_on_process_launch_;
432 427
433 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; 428 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_;
434 429
435 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 430 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
436 }; 431 };
437 432
438 } // namespace content 433 } // namespace content
439 434
440 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698