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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 19800005: Hide knowledge of webkit::ppapi::PluginDelegate from chrome. This is part of moving ppapi implement… (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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.h
===================================================================
--- content/browser/web_contents/web_contents_impl.h (revision 212906)
+++ content/browser/web_contents/web_contents_impl.h (working copy)
@@ -264,6 +264,8 @@
virtual bool SavePage(const base::FilePath& main_file,
const base::FilePath& dir_path,
SavePageType save_type) OVERRIDE;
+ virtual void SaveFrame(const GURL& url,
+ const Referrer& referrer) OVERRIDE;
virtual void GenerateMHTML(
const base::FilePath& file,
const base::Callback<void(const base::FilePath&, int64)>& callback)
@@ -289,7 +291,6 @@
virtual int GetMinimumZoomPercent() const OVERRIDE;
virtual int GetMaximumZoomPercent() const OVERRIDE;
virtual gfx::Size GetPreferredSize() const OVERRIDE;
- virtual int GetContentRestrictions() const OVERRIDE;
virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE;
virtual bool HasOpener() const OVERRIDE;
virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE;
@@ -571,12 +572,10 @@
bool is_main_frame,
int error_code,
const string16& error_description);
- void OnUpdateContentRestrictions(int restrictions);
void OnGoToEntryAtOffset(int offset);
void OnUpdateZoomLimits(int minimum_percent,
int maximum_percent,
bool remember);
- void OnSaveURL(const GURL& url, const Referrer& referrer);
void OnEnumerateDirectory(int request_id, const base::FilePath& path);
void OnJSOutOfMemory();
@@ -736,11 +735,6 @@
void SetEncoding(const std::string& encoding);
- // Save a URL to the local filesystem.
- void SaveURL(const GURL& url,
- const Referrer& referrer,
- bool is_main_frame);
-
RenderViewHostImpl* GetRenderViewHostImpl();
FrameTreeNode* FindFrameTreeNodeByID(int64 frame_id);
@@ -915,10 +909,6 @@
// The intrinsic size of the page.
gfx::Size preferred_size_;
- // Content restrictions, used to disable print/copy etc based on content's
- // (full-page plugins for now only) permissions.
- int content_restrictions_;
-
#if defined(OS_ANDROID)
// Date time chooser opened by this tab.
// Only used in Android since all other platforms use a multi field UI.

Powered by Google App Engine
This is Rietveld 408576698