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

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

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 void PluginFocusChanged(bool focused, int plugin_id); 285 void PluginFocusChanged(bool focused, int plugin_id);
286 #endif 286 #endif
287 287
288 #if defined(OS_MACOSX) 288 #if defined(OS_MACOSX)
289 // Starts plugin IME. 289 // Starts plugin IME.
290 void StartPluginIme(); 290 void StartPluginIme();
291 #endif 291 #endif
292 292
293 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate); 293 void RegisterPluginDelegate(WebPluginDelegateProxy* delegate);
294 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); 294 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate);
295
296 // Helper function to retrieve information about a plugin for a URL and mime
297 // type. Returns false if no plugin was found.
298 // |actual_mime_type| is the actual mime type supported by the
299 // plugin found that match the URL given (one for each item in
300 // |info|).
301 bool GetPluginInfo(const GURL& url,
302 const GURL& page_url,
303 const std::string& mime_type,
304 WebPluginInfo* plugin_info,
305 std::string* actual_mime_type);
306
307 #endif // ENABLE_PLUGINS 295 #endif // ENABLE_PLUGINS
308 296
309 void TransferActiveWheelFlingAnimation( 297 void TransferActiveWheelFlingAnimation(
310 const blink::WebActiveWheelFlingParameters& params); 298 const blink::WebActiveWheelFlingParameters& params);
311 299
312 // Returns true if the focused element is editable text from the perspective 300 // Returns true if the focused element is editable text from the perspective
313 // of IME support (also used for on-screen keyboard). Works correctly inside 301 // of IME support (also used for on-screen keyboard). Works correctly inside
314 // supported PPAPI plug-ins. 302 // supported PPAPI plug-ins.
315 bool HasIMETextFocus(); 303 bool HasIMETextFocus();
316 304
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 // use the Observer interface to filter IPC messages and receive frame change 1489 // use the Observer interface to filter IPC messages and receive frame change
1502 // notifications. 1490 // notifications.
1503 // --------------------------------------------------------------------------- 1491 // ---------------------------------------------------------------------------
1504 1492
1505 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1493 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1506 }; 1494 };
1507 1495
1508 } // namespace content 1496 } // namespace content
1509 1497
1510 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1498 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698