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

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: Extra layout removed. 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
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 620f432ee1464ed9704c1d786c3b55d25873bf47..82c0c49dc7f3eb19ee23de85448ead14976d894c 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);
}

Powered by Google App Engine
This is Rietveld 408576698