| 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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 double page_zoom_level() { | 232 double page_zoom_level() { |
| 233 return page_zoom_level_; | 233 return page_zoom_level_; |
| 234 } | 234 } |
| 235 | 235 |
| 236 // Sets page-level focus in this view and notifies plugins and Blink's | 236 // Sets page-level focus in this view and notifies plugins and Blink's |
| 237 // FocusController. | 237 // FocusController. |
| 238 void SetFocus(bool enable); | 238 void SetFocus(bool enable); |
| 239 | 239 |
| 240 void AttachWebFrameWidget(blink::WebFrameWidget* frame_widget); | 240 void AttachWebFrameWidget(blink::WebFrameWidget* frame_widget); |
| 241 | 241 |
| 242 void NeedsMainFrame(); |
| 243 |
| 242 // Plugin-related functions -------------------------------------------------- | 244 // Plugin-related functions -------------------------------------------------- |
| 243 | 245 |
| 244 #if defined(ENABLE_PLUGINS) | 246 #if defined(ENABLE_PLUGINS) |
| 245 // TODO(ekaramad): This method is only used by TextInputClientObserver. | 247 // TODO(ekaramad): This method is only used by TextInputClientObserver. |
| 246 // Ideally, TextInputClientObserver should use RenderFrame/RenderWidget to | 248 // Ideally, TextInputClientObserver should use RenderFrame/RenderWidget to |
| 247 // obtain the plugin. Come back to this later when implementing IME for Mac | 249 // obtain the plugin. Come back to this later when implementing IME for Mac |
| 248 // to see if we can remove this API (https://crbug.com/578168). | 250 // to see if we can remove this API (https://crbug.com/578168). |
| 249 PepperPluginInstanceImpl* GetFocusedPepperPlugin(); | 251 PepperPluginInstanceImpl* GetFocusedPepperPlugin(); |
| 250 #endif // ENABLE_PLUGINS | 252 #endif // ENABLE_PLUGINS |
| 251 | 253 |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 920 // use the Observer interface to filter IPC messages and receive frame change | 922 // use the Observer interface to filter IPC messages and receive frame change |
| 921 // notifications. | 923 // notifications. |
| 922 // --------------------------------------------------------------------------- | 924 // --------------------------------------------------------------------------- |
| 923 | 925 |
| 924 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 926 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 925 }; | 927 }; |
| 926 | 928 |
| 927 } // namespace content | 929 } // namespace content |
| 928 | 930 |
| 929 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 931 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |