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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 bool is_docked_; | 331 bool is_docked_; |
332 const bool can_dock_; | 332 const bool can_dock_; |
333 LifeStage life_stage_; | 333 LifeStage life_stage_; |
334 DevToolsToggleAction action_on_load_; | 334 DevToolsToggleAction action_on_load_; |
335 DevToolsContentsResizingStrategy contents_resizing_strategy_; | 335 DevToolsContentsResizingStrategy contents_resizing_strategy_; |
336 // True if we're in the process of handling a beforeunload event originating | 336 // True if we're in the process of handling a beforeunload event originating |
337 // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 337 // from the inspected webcontents, see InterceptPageBeforeUnload for details. |
338 bool intercepted_page_beforeunload_; | 338 bool intercepted_page_beforeunload_; |
339 base::Closure load_completed_callback_; | 339 base::Closure load_completed_callback_; |
340 base::Closure close_callback_; | 340 base::Closure close_callback_; |
| 341 bool ready_for_test_; |
341 base::Closure ready_for_test_callback_; | 342 base::Closure ready_for_test_callback_; |
342 | 343 |
343 base::TimeTicks inspect_element_start_time_; | 344 base::TimeTicks inspect_element_start_time_; |
344 scoped_ptr<DevToolsEventForwarder> event_forwarder_; | 345 scoped_ptr<DevToolsEventForwarder> event_forwarder_; |
345 | 346 |
346 friend class DevToolsEventForwarder; | 347 friend class DevToolsEventForwarder; |
347 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 348 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
348 }; | 349 }; |
349 | 350 |
350 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 351 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |