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

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

Issue 19894003: Move webplugininfo.h to content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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_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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate); 340 void UnregisterPluginDelegate(WebPluginDelegateProxy* delegate);
341 341
342 // Helper function to retrieve information about a plugin for a URL and mime 342 // Helper function to retrieve information about a plugin for a URL and mime
343 // type. Returns false if no plugin was found. 343 // type. Returns false if no plugin was found.
344 // |actual_mime_type| is the actual mime type supported by the 344 // |actual_mime_type| is the actual mime type supported by the
345 // plugin found that match the URL given (one for each item in 345 // plugin found that match the URL given (one for each item in
346 // |info|). 346 // |info|).
347 bool GetPluginInfo(const GURL& url, 347 bool GetPluginInfo(const GURL& url,
348 const GURL& page_url, 348 const GURL& page_url,
349 const std::string& mime_type, 349 const std::string& mime_type,
350 webkit::WebPluginInfo* plugin_info, 350 WebPluginInfo* plugin_info,
351 std::string* actual_mime_type); 351 std::string* actual_mime_type);
352 352
353 void TransferActiveWheelFlingAnimation( 353 void TransferActiveWheelFlingAnimation(
354 const WebKit::WebActiveWheelFlingParameters& params); 354 const WebKit::WebActiveWheelFlingParameters& params);
355 355
356 // Returns true if the focused element is editable text from the perspective 356 // Returns true if the focused element is editable text from the perspective
357 // of IME support (also used for on-screen keyboard). Works correctly inside 357 // of IME support (also used for on-screen keyboard). Works correctly inside
358 // supported PPAPI plug-ins. 358 // supported PPAPI plug-ins.
359 bool HasIMETextFocus(); 359 bool HasIMETextFocus();
360 360
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 virtual int GetPageId() const OVERRIDE; 705 virtual int GetPageId() const OVERRIDE;
706 virtual gfx::Size GetSize() const OVERRIDE; 706 virtual gfx::Size GetSize() const OVERRIDE;
707 virtual WebPreferences& GetWebkitPreferences() OVERRIDE; 707 virtual WebPreferences& GetWebkitPreferences() OVERRIDE;
708 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE; 708 virtual void SetWebkitPreferences(const WebPreferences& preferences) OVERRIDE;
709 virtual WebKit::WebView* GetWebView() OVERRIDE; 709 virtual WebKit::WebView* GetWebView() OVERRIDE;
710 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE; 710 virtual WebKit::WebNode GetFocusedNode() const OVERRIDE;
711 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE; 711 virtual WebKit::WebNode GetContextMenuNode() const OVERRIDE;
712 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE; 712 virtual bool IsEditableNode(const WebKit::WebNode& node) const OVERRIDE;
713 virtual WebKit::WebPlugin* CreatePlugin( 713 virtual WebKit::WebPlugin* CreatePlugin(
714 WebKit::WebFrame* frame, 714 WebKit::WebFrame* frame,
715 const webkit::WebPluginInfo& info, 715 const WebPluginInfo& info,
716 const WebKit::WebPluginParams& params) OVERRIDE; 716 const WebKit::WebPluginParams& params) OVERRIDE;
717 virtual void EvaluateScript(const string16& frame_xpath, 717 virtual void EvaluateScript(const string16& frame_xpath,
718 const string16& jscript, 718 const string16& jscript,
719 int id, 719 int id,
720 bool notify_result) OVERRIDE; 720 bool notify_result) OVERRIDE;
721 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE; 721 virtual bool ShouldDisplayScrollbars(int width, int height) const OVERRIDE;
722 virtual int GetEnabledBindings() const OVERRIDE; 722 virtual int GetEnabledBindings() const OVERRIDE;
723 virtual bool GetContentStateImmediately() const OVERRIDE; 723 virtual bool GetContentStateImmediately() const OVERRIDE;
724 virtual float GetFilteredTimePerFrame() const OVERRIDE; 724 virtual float GetFilteredTimePerFrame() const OVERRIDE;
725 virtual int ShowContextMenu(ContextMenuClient* client, 725 virtual int ShowContextMenu(ContextMenuClient* client,
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 // use the Observer interface to filter IPC messages and receive frame change 1555 // use the Observer interface to filter IPC messages and receive frame change
1556 // notifications. 1556 // notifications.
1557 // --------------------------------------------------------------------------- 1557 // ---------------------------------------------------------------------------
1558 1558
1559 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1559 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1560 }; 1560 };
1561 1561
1562 } // namespace content 1562 } // namespace content
1563 1563
1564 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1564 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698