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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 953243002: Cleanup BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 10 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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 47c405a546b5d3feabba98c2cb8a3943ff1ee2f1..9216aa417af367a4cf3d0efd62402342af6d35a4 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -146,10 +146,7 @@ class CONTENT_EXPORT BrowserPlugin :
~BrowserPlugin() override;
- int width() const { return plugin_rect_.width(); }
- int height() const { return plugin_rect_.height(); }
- gfx::Size plugin_size() const { return plugin_rect_.size(); }
- gfx::Rect plugin_rect() const { return plugin_rect_; }
+ gfx::Rect view_rect() const { return view_rect_; }
void ShowSadGraphic();
@@ -173,7 +170,7 @@ class CONTENT_EXPORT BrowserPlugin :
// then we will attempt to access a nullptr.
const int render_frame_routing_id_;
blink::WebPluginContainer* container_;
- gfx::Rect plugin_rect_;
+ gfx::Rect view_rect_;
// Bitmap for crashed plugin. Lazily initialized, non-owning pointer.
SkBitmap* sad_guest_;
bool guest_crashed_;
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698