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_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 Loading... | |
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_ |
OLD | NEW |