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

Side by Side Diff: trunk/src/content/public/browser/render_view_host.h

Issue 352013002: Revert 279557 "Support exposing Mojo services between render fra..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // Retrieves the list of AudioOutputController objects associated 203 // Retrieves the list of AudioOutputController objects associated
204 // with this object and passes it to the callback you specify, on 204 // with this object and passes it to the callback you specify, on
205 // the same thread on which you called the method. 205 // the same thread on which you called the method.
206 typedef std::list<scoped_refptr<media::AudioOutputController> > 206 typedef std::list<scoped_refptr<media::AudioOutputController> >
207 AudioOutputControllerList; 207 AudioOutputControllerList;
208 typedef base::Callback<void(const AudioOutputControllerList&)> 208 typedef base::Callback<void(const AudioOutputControllerList&)>
209 GetAudioOutputControllersCallback; 209 GetAudioOutputControllersCallback;
210 virtual void GetAudioOutputControllers( 210 virtual void GetAudioOutputControllers(
211 const GetAudioOutputControllersCallback& callback) const = 0; 211 const GetAudioOutputControllersCallback& callback) const = 0;
212 212
213 // Sets the mojo handle for WebUI pages.
214 virtual void SetWebUIHandle(mojo::ScopedMessagePipeHandle handle) = 0;
215
213 // Notify the render view host to select the word around the caret. 216 // Notify the render view host to select the word around the caret.
214 virtual void SelectWordAroundCaret() = 0; 217 virtual void SelectWordAroundCaret() = 0;
215 218
216 #if defined(OS_ANDROID) 219 #if defined(OS_ANDROID)
217 // Selects and zooms to the find result nearest to the point (x,y) 220 // Selects and zooms to the find result nearest to the point (x,y)
218 // defined in find-in-page coordinates. 221 // defined in find-in-page coordinates.
219 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0; 222 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0;
220 223
221 // Asks the renderer to send the rects of the current find matches. 224 // Asks the renderer to send the rects of the current find matches.
222 virtual void RequestFindMatchRects(int current_version) = 0; 225 virtual void RequestFindMatchRects(int current_version) = 0;
223 #endif 226 #endif
224 227
225 private: 228 private:
226 // This interface should only be implemented inside content. 229 // This interface should only be implemented inside content.
227 friend class RenderViewHostImpl; 230 friend class RenderViewHostImpl;
228 RenderViewHost() {} 231 RenderViewHost() {}
229 }; 232 };
230 233
231 } // namespace content 234 } // namespace content
232 235
233 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 236 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « trunk/src/content/public/browser/render_process_host.h ('k') | trunk/src/content/public/common/service_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698