| 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 291 | 291 | 
| 292   // content::DevToolsFrontendHostDelegate override: | 292   // content::DevToolsFrontendHostDelegate override: | 
| 293   virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; | 293   virtual void DispatchOnEmbedder(const std::string& message) OVERRIDE; | 
| 294 | 294 | 
| 295   // DevToolsEmbedderMessageDispatcher::Delegate overrides: | 295   // DevToolsEmbedderMessageDispatcher::Delegate overrides: | 
| 296   virtual void ActivateWindow() OVERRIDE; | 296   virtual void ActivateWindow() OVERRIDE; | 
| 297   virtual void ActivateContents(content::WebContents* contents) OVERRIDE; | 297   virtual void ActivateContents(content::WebContents* contents) OVERRIDE; | 
| 298   virtual void CloseWindow() OVERRIDE; | 298   virtual void CloseWindow() OVERRIDE; | 
| 299   virtual void SetContentsInsets( | 299   virtual void SetContentsInsets( | 
| 300       int left, int top, int right, int bottom) OVERRIDE; | 300       int left, int top, int right, int bottom) OVERRIDE; | 
|  | 301   virtual void InspectElementCompleted() OVERRIDE; | 
| 301   virtual void MoveWindow(int x, int y) OVERRIDE; | 302   virtual void MoveWindow(int x, int y) OVERRIDE; | 
| 302   virtual void SetIsDocked(bool is_docked) OVERRIDE; | 303   virtual void SetIsDocked(bool is_docked) OVERRIDE; | 
| 303   virtual void OpenInNewTab(const std::string& url) OVERRIDE; | 304   virtual void OpenInNewTab(const std::string& url) OVERRIDE; | 
| 304   virtual void SaveToFile(const std::string& url, | 305   virtual void SaveToFile(const std::string& url, | 
| 305                           const std::string& content, | 306                           const std::string& content, | 
| 306                           bool save_as) OVERRIDE; | 307                           bool save_as) OVERRIDE; | 
| 307   virtual void AppendToFile(const std::string& url, | 308   virtual void AppendToFile(const std::string& url, | 
| 308                             const std::string& content) OVERRIDE; | 309                             const std::string& content) OVERRIDE; | 
| 309   virtual void RequestFileSystems() OVERRIDE; | 310   virtual void RequestFileSystems() OVERRIDE; | 
| 310   virtual void AddFileSystem() OVERRIDE; | 311   virtual void AddFileSystem() OVERRIDE; | 
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 378       scoped_refptr<DevToolsFileSystemIndexer::FileSystemIndexingJob> > | 379       scoped_refptr<DevToolsFileSystemIndexer::FileSystemIndexingJob> > | 
| 379       IndexingJobsMap; | 380       IndexingJobsMap; | 
| 380   IndexingJobsMap indexing_jobs_; | 381   IndexingJobsMap indexing_jobs_; | 
| 381   gfx::Insets contents_insets_; | 382   gfx::Insets contents_insets_; | 
| 382   // True if we're in the process of handling a beforeunload event originating | 383   // True if we're in the process of handling a beforeunload event originating | 
| 383   // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 384   // from the inspected webcontents, see InterceptPageBeforeUnload for details. | 
| 384   bool intercepted_page_beforeunload_; | 385   bool intercepted_page_beforeunload_; | 
| 385 | 386 | 
| 386   scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 387   scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 
| 387   base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 388   base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 
|  | 389   base::TimeTicks inspect_element_start_time_; | 
| 388   DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 390   DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 
| 389 }; | 391 }; | 
| 390 | 392 | 
| 391 #endif  // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 393 #endif  // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 
| OLD | NEW | 
|---|