Commit be947631 authored by fsamuel's avatar fsamuel Committed by Commit bot

Browser Plugin: Minor cleanup

BUG=none

Review URL: https://codereview.chromium.org/594623002

Cr-Commit-Position: refs/heads/master@{#296043}
parent e65548fa
......@@ -25,14 +25,12 @@
#include "third_party/WebKit/public/web/WebElement.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "third_party/WebKit/public/web/WebPluginContainer.h"
#include "third_party/WebKit/public/web/WebPluginParams.h"
#include "third_party/WebKit/public/web/WebView.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "ui/events/keycodes/keyboard_codes.h"
using blink::WebCanvas;
using blink::WebPluginContainer;
using blink::WebPluginParams;
using blink::WebPoint;
using blink::WebRect;
using blink::WebURL;
......
......@@ -160,8 +160,7 @@ class CONTENT_EXPORT BrowserPlugin :
gfx::Size plugin_size() const { return plugin_rect_.size(); }
gfx::Rect plugin_rect() const { return plugin_rect_; }
// Virtual to allow for mocking in tests.
virtual float GetDeviceScaleFactor() const;
float GetDeviceScaleFactor() const;
void ShowSadGraphic();
......@@ -207,7 +206,6 @@ class CONTENT_EXPORT BrowserPlugin :
WebCursor cursor_;
gfx::Size last_view_size_;
bool mouse_locked_;
// BrowserPlugin outlives RenderViewImpl in Chrome Apps and so we need to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment