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

Side by Side Diff: chrome/browser/devtools/devtools_window.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
7 7
8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" 8 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h"
9 #include "chrome/browser/devtools/devtools_toggle_action.h" 9 #include "chrome/browser/devtools/devtools_toggle_action.h"
10 #include "chrome/browser/devtools/devtools_ui_bindings.h" 10 #include "chrome/browser/devtools/devtools_ui_bindings.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 const content::FileChooserParams& params) OVERRIDE; 265 const content::FileChooserParams& params) OVERRIDE;
266 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 266 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
267 virtual bool PreHandleGestureEvent( 267 virtual bool PreHandleGestureEvent(
268 content::WebContents* source, 268 content::WebContents* source,
269 const blink::WebGestureEvent& event) OVERRIDE; 269 const blink::WebGestureEvent& event) OVERRIDE;
270 270
271 // content::DevToolsUIBindings::Delegate overrides 271 // content::DevToolsUIBindings::Delegate overrides
272 virtual void ActivateWindow() OVERRIDE; 272 virtual void ActivateWindow() OVERRIDE;
273 virtual void CloseWindow() OVERRIDE; 273 virtual void CloseWindow() OVERRIDE;
274 virtual void SetInspectedPageBounds(const gfx::Rect& rect) OVERRIDE; 274 virtual void SetInspectedPageBounds(const gfx::Rect& rect) OVERRIDE;
275 virtual void SetContentsResizingStrategy(
276 const gfx::Insets& insets, const gfx::Size& min_size) OVERRIDE;
277 virtual void InspectElementCompleted() OVERRIDE; 275 virtual void InspectElementCompleted() OVERRIDE;
278 virtual void MoveWindow(int x, int y) OVERRIDE; 276 virtual void MoveWindow(int x, int y) OVERRIDE;
279 virtual void SetIsDocked(bool is_docked) OVERRIDE; 277 virtual void SetIsDocked(bool is_docked) OVERRIDE;
280 virtual void OpenInNewTab(const std::string& url) OVERRIDE; 278 virtual void OpenInNewTab(const std::string& url) OVERRIDE;
281 virtual void SetWhitelistedShortcuts(const std::string& message) OVERRIDE; 279 virtual void SetWhitelistedShortcuts(const std::string& message) OVERRIDE;
282 virtual void InspectedContentsClosing() OVERRIDE; 280 virtual void InspectedContentsClosing() OVERRIDE;
283 virtual void OnLoadCompleted() OVERRIDE; 281 virtual void OnLoadCompleted() OVERRIDE;
284 virtual InfoBarService* GetInfoBarService() OVERRIDE; 282 virtual InfoBarService* GetInfoBarService() OVERRIDE;
285 virtual void RenderProcessGone() OVERRIDE; 283 virtual void RenderProcessGone() OVERRIDE;
286 284
(...skipping 26 matching lines...) Expand all
313 base::Closure close_callback_; 311 base::Closure close_callback_;
314 312
315 base::TimeTicks inspect_element_start_time_; 313 base::TimeTicks inspect_element_start_time_;
316 scoped_ptr<DevToolsEventForwarder> event_forwarder_; 314 scoped_ptr<DevToolsEventForwarder> event_forwarder_;
317 315
318 friend class DevToolsEventForwarder; 316 friend class DevToolsEventForwarder;
319 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 317 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
320 }; 318 };
321 319
322 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 320 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_ui_bindings.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698