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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2278283002: Implement Mac Pop-up Dictionary for OOPIF. (Closed)
Patch Set: Added Tests and Modified DEPS Created 4 years, 3 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_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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Plugin-related functions -------------------------------------------------- 242 // Plugin-related functions --------------------------------------------------
243
244 #if defined(ENABLE_PLUGINS)
245 // TODO(ekaramad): This method is only used by TextInputClientObserver.
246 // Ideally, TextInputClientObserver should use RenderFrame/RenderWidget to
247 // 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).
249 PepperPluginInstanceImpl* GetFocusedPepperPlugin();
250 #endif // ENABLE_PLUGINS
251
252 void TransferActiveWheelFlingAnimation( 243 void TransferActiveWheelFlingAnimation(
253 const blink::WebActiveWheelFlingParameters& params); 244 const blink::WebActiveWheelFlingParameters& params);
254 245
255 // Starts a timer to send an UpdateState message on behalf of |frame|, if the 246 // Starts a timer to send an UpdateState message on behalf of |frame|, if the
256 // timer isn't already running. This allows multiple state changing events to 247 // timer isn't already running. This allows multiple state changing events to
257 // be coalesced into one update. 248 // be coalesced into one update.
258 void StartNavStateSyncTimerIfNecessary(RenderFrameImpl* frame); 249 void StartNavStateSyncTimerIfNecessary(RenderFrameImpl* frame);
259 250
260 // Synchronously sends the current navigation state to the browser. 251 // Synchronously sends the current navigation state to the browser.
261 void SendUpdateState(); 252 void SendUpdateState();
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 // use the Observer interface to filter IPC messages and receive frame change 911 // use the Observer interface to filter IPC messages and receive frame change
921 // notifications. 912 // notifications.
922 // --------------------------------------------------------------------------- 913 // ---------------------------------------------------------------------------
923 914
924 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 915 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
925 }; 916 };
926 917
927 } // namespace content 918 } // namespace content
928 919
929 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 920 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698