| 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" |
| 11 #include "chrome/browser/devtools/devtools_ui_bindings.h" | 11 #include "chrome/browser/devtools/devtools_ui_bindings.h" |
| 12 #include "content/public/browser/web_contents_delegate.h" | 12 #include "content/public/browser/web_contents_delegate.h" |
| 13 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
| 14 | 14 |
| 15 class Browser; | 15 class Browser; |
| 16 class BrowserWindow; | 16 class BrowserWindow; |
| 17 class DevToolsWindowTesting; | 17 class DevToolsWindowTesting; |
| 18 class DevToolsEventForwarder; | 18 class DevToolsEventForwarder; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class DevToolsAgentHost; | 21 class DevToolsAgentHost; |
| 22 struct NativeWebKeyboardEvent; | 22 struct NativeWebKeyboardEvent; |
| 23 class RenderFrameHost; | 23 class RenderFrameHost; |
| 24 class RenderViewHost; | |
| 25 } | 24 } |
| 26 | 25 |
| 27 namespace user_prefs { | 26 namespace user_prefs { |
| 28 class PrefRegistrySyncable; | 27 class PrefRegistrySyncable; |
| 29 } | 28 } |
| 30 | 29 |
| 31 class DevToolsWindow : public DevToolsUIBindings::Delegate, | 30 class DevToolsWindow : public DevToolsUIBindings::Delegate, |
| 32 public content::WebContentsDelegate { | 31 public content::WebContentsDelegate { |
| 33 public: | 32 public: |
| 34 class ObserverWithAccessor : public content::WebContentsObserver { | 33 class ObserverWithAccessor : public content::WebContentsObserver { |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 base::Closure ready_for_test_callback_; | 355 base::Closure ready_for_test_callback_; |
| 357 | 356 |
| 358 base::TimeTicks inspect_element_start_time_; | 357 base::TimeTicks inspect_element_start_time_; |
| 359 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; | 358 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; |
| 360 | 359 |
| 361 friend class DevToolsEventForwarder; | 360 friend class DevToolsEventForwarder; |
| 362 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 361 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 363 }; | 362 }; |
| 364 | 363 |
| 365 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 364 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |