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

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

Issue 292573004: Don't use webmediaplayer to FullscreenController about fullscreen change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removing the fullscreenchanged IPC 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // 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.
217 virtual void SelectWordAroundCaret() = 0; 217 virtual void SelectWordAroundCaret() = 0;
218 218
219 #if defined(OS_ANDROID) 219 #if defined(OS_ANDROID)
220 // 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)
221 // defined in find-in-page coordinates. 221 // defined in find-in-page coordinates.
222 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0; 222 virtual void ActivateNearestFindResult(int request_id, float x, float y) = 0;
223 223
224 // 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.
225 virtual void RequestFindMatchRects(int current_version) = 0; 225 virtual void RequestFindMatchRects(int current_version) = 0;
226
227 // The page has entered or exited a fullscreen state.
228 virtual void FullscreenChanged() = 0;
jam 2014/06/16 20:09:06 why add this method to RVH when all it does is cal
boliu 2014/06/16 20:12:45 I asked for it in the review because it made no se
jam 2014/06/16 22:44:16 I don't understand what you mean. This code adds a
qinmin 2014/06/16 23:16:18 Done. Reverting back to WasResized() now. On 2014
226 #endif 229 #endif
227 230
228 private: 231 private:
229 // This interface should only be implemented inside content. 232 // This interface should only be implemented inside content.
230 friend class RenderViewHostImpl; 233 friend class RenderViewHostImpl;
231 RenderViewHost() {} 234 RenderViewHost() {}
232 }; 235 };
233 236
234 } // namespace content 237 } // namespace content
235 238
236 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 239 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698