| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 333 |
| 334 std::unique_ptr<ObserverWithAccessor> inspected_contents_observer_; | 334 std::unique_ptr<ObserverWithAccessor> inspected_contents_observer_; |
| 335 | 335 |
| 336 Profile* profile_; | 336 Profile* profile_; |
| 337 content::WebContents* main_web_contents_; | 337 content::WebContents* main_web_contents_; |
| 338 content::WebContents* toolbox_web_contents_; | 338 content::WebContents* toolbox_web_contents_; |
| 339 DevToolsUIBindings* bindings_; | 339 DevToolsUIBindings* bindings_; |
| 340 Browser* browser_; | 340 Browser* browser_; |
| 341 bool is_docked_; | 341 bool is_docked_; |
| 342 const bool can_dock_; | 342 const bool can_dock_; |
| 343 bool close_on_detach_; |
| 343 LifeStage life_stage_; | 344 LifeStage life_stage_; |
| 344 DevToolsToggleAction action_on_load_; | 345 DevToolsToggleAction action_on_load_; |
| 345 DevToolsContentsResizingStrategy contents_resizing_strategy_; | 346 DevToolsContentsResizingStrategy contents_resizing_strategy_; |
| 346 // True if we're in the process of handling a beforeunload event originating | 347 // True if we're in the process of handling a beforeunload event originating |
| 347 // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 348 // from the inspected webcontents, see InterceptPageBeforeUnload for details. |
| 348 bool intercepted_page_beforeunload_; | 349 bool intercepted_page_beforeunload_; |
| 349 base::Closure load_completed_callback_; | 350 base::Closure load_completed_callback_; |
| 350 base::Closure close_callback_; | 351 base::Closure close_callback_; |
| 351 bool ready_for_test_; | 352 bool ready_for_test_; |
| 352 base::Closure ready_for_test_callback_; | 353 base::Closure ready_for_test_callback_; |
| 353 | 354 |
| 354 base::TimeTicks inspect_element_start_time_; | 355 base::TimeTicks inspect_element_start_time_; |
| 355 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; | 356 std::unique_ptr<DevToolsEventForwarder> event_forwarder_; |
| 356 | 357 |
| 357 friend class DevToolsEventForwarder; | 358 friend class DevToolsEventForwarder; |
| 358 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 359 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 359 }; | 360 }; |
| 360 | 361 |
| 361 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 362 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |