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

Unified Diff: content/browser/renderer_host/render_widget_host_view.h

Issue 9265018: Change grow box computation back to a method on BrowserWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years, 11 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/renderer_host/render_widget_host_view.h
diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
index ee604f70c0dc341b5ef885cb778c7110f285d468..8a2a853cd325af5c5831f8be4703c727d803617e 100644
--- a/content/browser/renderer_host/render_widget_host_view.h
+++ b/content/browser/renderer_host/render_widget_host_view.h
@@ -24,7 +24,6 @@
#include "ui/base/ime/text_input_type.h"
#include "ui/base/range/range.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/rect.h"
#include "ui/gfx/surface/transport_dib.h"
struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
@@ -330,13 +329,6 @@ class RenderWidgetHostView {
BrowserAccessibilityManager* GetBrowserAccessibilityManager() const;
void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
- gfx::Rect reserved_contents_rect() const {
- return reserved_rect_;
- }
- void set_reserved_contents_rect(const gfx::Rect& reserved_rect) {
- reserved_rect_ = reserved_rect;
- }
-
bool mouse_locked() const { return mouse_locked_; }
protected:
@@ -351,10 +343,6 @@ class RenderWidgetHostView {
// horizontally. Can be null, in which case we fall back to painting white.
SkBitmap background_;
- // The current reserved area in view coordinates where contents should not be
- // rendered to draw the resize corner, sidebar mini tabs etc.
- gfx::Rect reserved_rect_;
-
// While the mouse is locked, the cursor is hidden from the user. Mouse events
// are still generated. However, the position they report is the last known
// mouse position just as mouse lock was entered; the movement they report

Powered by Google App Engine
This is Rietveld 408576698