| OLD | NEW |
| 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 "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" | 9 #include "chrome/browser/devtools/devtools_contents_resizing_strategy.h" |
| 10 #include "chrome/browser/devtools/devtools_toggle_action.h" | 10 #include "chrome/browser/devtools/devtools_toggle_action.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 bool PreHandleGestureEvent(content::WebContents* source, | 315 bool PreHandleGestureEvent(content::WebContents* source, |
| 316 const blink::WebGestureEvent& event) override; | 316 const blink::WebGestureEvent& event) override; |
| 317 void ShowCertificateViewerInDevTools( | 317 void ShowCertificateViewerInDevTools( |
| 318 content::WebContents* web_contents, | 318 content::WebContents* web_contents, |
| 319 scoped_refptr<net::X509Certificate> certificate) override; | 319 scoped_refptr<net::X509Certificate> certificate) override; |
| 320 | 320 |
| 321 // content::DevToolsUIBindings::Delegate overrides | 321 // content::DevToolsUIBindings::Delegate overrides |
| 322 void ActivateWindow() override; | 322 void ActivateWindow() override; |
| 323 void CloseWindow() override; | 323 void CloseWindow() override; |
| 324 void Inspect(scoped_refptr<content::DevToolsAgentHost> host) override; | 324 void Inspect(scoped_refptr<content::DevToolsAgentHost> host) override; |
| 325 void SetInspectedPageBounds(const gfx::Rect& rect) override; | 325 void SetInspectedPageBounds(const gfx::Rect& rect, bool force) override; |
| 326 void InspectElementCompleted() override; | 326 void InspectElementCompleted() override; |
| 327 void SetIsDocked(bool is_docked) override; | 327 void SetIsDocked(bool is_docked) override; |
| 328 void OpenInNewTab(const std::string& url) override; | 328 void OpenInNewTab(const std::string& url) override; |
| 329 void SetWhitelistedShortcuts(const std::string& message) override; | 329 void SetWhitelistedShortcuts(const std::string& message) override; |
| 330 void SetEyeDropperActive(bool active) override; | 330 void SetEyeDropperActive(bool active) override; |
| 331 void OpenNodeFrontend() override; | 331 void OpenNodeFrontend() override; |
| 332 void InspectedContentsClosing() override; | 332 void InspectedContentsClosing() override; |
| 333 void OnLoadCompleted() override; | 333 void OnLoadCompleted() override; |
| 334 void ReadyForTest() override; | 334 void ReadyForTest() override; |
| 335 InfoBarService* GetInfoBarService() override; | 335 InfoBarService* GetInfoBarService() override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 | 368 |
| 369 base::TimeTicks inspect_element_start_time_; | 369 base::TimeTicks inspect_element_start_time_; |
| 370 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; | 370 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; |
| 371 std::unique_ptr<DevToolsEyeDropper> eye_dropper_; | 371 std::unique_ptr<DevToolsEyeDropper> eye_dropper_; |
| 372 | 372 |
| 373 friend class DevToolsEventForwarder; | 373 friend class DevToolsEventForwarder; |
| 374 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 374 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 375 }; | 375 }; |
| 376 | 376 |
| 377 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 377 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |