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

Unified Diff: content/renderer/render_view_impl.h

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 years, 1 month 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index b061efb4ef3e924893501e234b4415073826d0bf..0648a4a5f639f65948838e22b67acdd12bdfdc02 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -18,7 +18,6 @@
#include "base/gtest_prod_util.h"
#include "base/id_map.h"
#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "base/process/process.h"
#include "base/strings/string16.h"
@@ -152,8 +151,7 @@ class CONTENT_EXPORT RenderViewImpl
: public RenderWidget,
NON_EXPORTED_BASE(public blink::WebViewClient),
public RenderWidgetOwnerDelegate,
- public RenderView,
- public base::SupportsWeakPtr<RenderViewImpl> {
+ public RenderView {
public:
// Creates a new RenderView. |opener_id| is the routing ID of the RenderView
// responsible for creating this RenderView. Note that if the original opener
@@ -242,7 +240,7 @@ class CONTENT_EXPORT RenderViewImpl
void AttachWebFrameWidget(blink::WebFrameWidget* frame_widget);
void TransferActiveWheelFlingAnimation(
- const blink::WebActiveWheelFlingParameters& params);
+ const blink::WebActiveWheelFlingParameters& params) override;
// Starts a timer to send an UpdateState message on behalf of |frame|, if the
// timer isn't already running. This allows multiple state changing events to
@@ -434,6 +432,7 @@ class CONTENT_EXPORT RenderViewImpl
void DidCommitCompositorFrame() override;
void DidCompletePageScaleAnimation() override;
void OnDeviceScaleFactorChanged() override;
+ void OnSetPageScaleFactorForSubframes(double page_scale);
void ResizeWebWidget() override;
RenderViewImpl(CompositorDependencies* compositor_deps,
@@ -639,7 +638,7 @@ class CONTENT_EXPORT RenderViewImpl
// Launch an Android content intent with the given URL.
void LaunchAndroidContentIntent(const GURL& intent_url,
size_t request_id,
- bool is_main_frame);
+ bool is_main_frame) override;
#endif
#if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX))
@@ -890,8 +889,6 @@ class CONTENT_EXPORT RenderViewImpl
typedef std::map<cc::SharedBitmapId, cc::SharedBitmap*> BitmapMap;
BitmapMap disambiguation_bitmaps_;
- bool has_added_input_handler_;
-
// ---------------------------------------------------------------------------
// ADDING NEW DATA? Please see if it fits appropriately in one of the above
// sections rather than throwing it randomly at the end. If you're adding a
« 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