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

Unified Diff: chrome/browser/devtools/devtools_ui_bindings.cc

Issue 440663003: DevTools: remove unused resizing strategy code paths, make it solely bounds-based. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 6 years, 4 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
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.h ('k') | chrome/browser/devtools/devtools_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_ui_bindings.cc
diff --git a/chrome/browser/devtools/devtools_ui_bindings.cc b/chrome/browser/devtools/devtools_ui_bindings.cc
index 295a9e21ccbf8510ba3a4f28764a1bbf680f0c79..354af0a79f9705df31f911747c64702984490e79 100644
--- a/chrome/browser/devtools/devtools_ui_bindings.cc
+++ b/chrome/browser/devtools/devtools_ui_bindings.cc
@@ -183,8 +183,6 @@ class DefaultBindingsDelegate : public DevToolsUIBindings::Delegate {
virtual void ActivateWindow() OVERRIDE;
virtual void CloseWindow() OVERRIDE {}
virtual void SetInspectedPageBounds(const gfx::Rect& rect) OVERRIDE {}
- virtual void SetContentsResizingStrategy(
- const gfx::Insets& insets, const gfx::Size& min_size) OVERRIDE {}
virtual void InspectElementCompleted() OVERRIDE {}
virtual void MoveWindow(int x, int y) OVERRIDE {}
virtual void SetIsDocked(bool is_docked) OVERRIDE {}
@@ -436,11 +434,6 @@ void DevToolsUIBindings::SetInspectedPageBounds(const gfx::Rect& rect) {
delegate_->SetInspectedPageBounds(rect);
}
-void DevToolsUIBindings::SetContentsResizingStrategy(
- const gfx::Insets& insets, const gfx::Size& min_size) {
- delegate_->SetContentsResizingStrategy(insets, min_size);
-}
-
void DevToolsUIBindings::MoveWindow(int x, int y) {
delegate_->MoveWindow(x, y);
}
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.h ('k') | chrome/browser/devtools/devtools_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698