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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 void IndexingTotalWorkCalculated(int request_id, | 306 void IndexingTotalWorkCalculated(int request_id, |
307 const std::string& file_system_path, | 307 const std::string& file_system_path, |
308 int total_work); | 308 int total_work); |
309 void IndexingWorked(int request_id, | 309 void IndexingWorked(int request_id, |
310 const std::string& file_system_path, | 310 const std::string& file_system_path, |
311 int worked); | 311 int worked); |
312 void IndexingDone(int request_id, const std::string& file_system_path); | 312 void IndexingDone(int request_id, const std::string& file_system_path); |
313 void SearchCompleted(int request_id, | 313 void SearchCompleted(int request_id, |
314 const std::string& file_system_path, | 314 const std::string& file_system_path, |
315 const std::vector<std::string>& file_paths); | 315 const std::vector<std::string>& file_paths); |
316 void ShowDevToolsConfirmInfoBar(const string16& message, | 316 void ShowDevToolsConfirmInfoBar(const base::string16& message, |
317 const InfoBarCallback& callback); | 317 const InfoBarCallback& callback); |
318 | 318 |
319 void CreateDevToolsBrowser(); | 319 void CreateDevToolsBrowser(); |
320 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); | 320 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); |
321 BrowserWindow* GetInspectedBrowserWindow(); | 321 BrowserWindow* GetInspectedBrowserWindow(); |
322 bool IsInspectedBrowserPopup(); | 322 bool IsInspectedBrowserPopup(); |
323 void UpdateFrontendDockSide(); | 323 void UpdateFrontendDockSide(); |
324 void ScheduleAction(const DevToolsToggleAction& action); | 324 void ScheduleAction(const DevToolsToggleAction& action); |
325 void DoAction(); | 325 void DoAction(); |
326 void UpdateTheme(); | 326 void UpdateTheme(); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // True if we're in the process of handling a beforeunload event originating | 362 // True if we're in the process of handling a beforeunload event originating |
363 // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 363 // from the inspected webcontents, see InterceptPageBeforeUnload for details. |
364 bool intercepted_page_beforeunload_; | 364 bool intercepted_page_beforeunload_; |
365 | 365 |
366 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 366 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
367 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 367 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
368 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 368 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
369 }; | 369 }; |
370 | 370 |
371 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 371 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
OLD | NEW |