| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 DevToolsDockSide dock_side, | 129 DevToolsDockSide dock_side, |
| 130 bool shared_worker_frontend); | 130 bool shared_worker_frontend); |
| 131 DevToolsWindow(Profile* profile, | 131 DevToolsWindow(Profile* profile, |
| 132 const GURL& frontend_url, | 132 const GURL& frontend_url, |
| 133 content::RenderViewHost* inspected_rvh, | 133 content::RenderViewHost* inspected_rvh, |
| 134 DevToolsDockSide dock_side); | 134 DevToolsDockSide dock_side); |
| 135 | 135 |
| 136 void CreateDevToolsBrowser(); | 136 void CreateDevToolsBrowser(); |
| 137 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); | 137 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); |
| 138 BrowserWindow* GetInspectedBrowserWindow(); | 138 BrowserWindow* GetInspectedBrowserWindow(); |
| 139 bool IsInspectedBrowserPopupOrPanel(); | 139 bool IsInspectedBrowserPopup(); |
| 140 void UpdateFrontendDockSide(); | 140 void UpdateFrontendDockSide(); |
| 141 void Hide(); | 141 void Hide(); |
| 142 | 142 |
| 143 // Overridden from content::NotificationObserver. | 143 // Overridden from content::NotificationObserver. |
| 144 virtual void Observe(int type, | 144 virtual void Observe(int type, |
| 145 const content::NotificationSource& source, | 145 const content::NotificationSource& source, |
| 146 const content::NotificationDetails& details) OVERRIDE; | 146 const content::NotificationDetails& details) OVERRIDE; |
| 147 | 147 |
| 148 void ScheduleAction(DevToolsToggleAction action); | 148 void ScheduleAction(DevToolsToggleAction action); |
| 149 void DoAction(); | 149 void DoAction(); |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 scoped_ptr<content::DevToolsClientHost> frontend_host_; | 232 scoped_ptr<content::DevToolsClientHost> frontend_host_; |
| 233 base::WeakPtrFactory<DevToolsWindow> weak_factory_; | 233 base::WeakPtrFactory<DevToolsWindow> weak_factory_; |
| 234 scoped_ptr<DevToolsFileHelper> file_helper_; | 234 scoped_ptr<DevToolsFileHelper> file_helper_; |
| 235 int width_; | 235 int width_; |
| 236 int height_; | 236 int height_; |
| 237 DevToolsDockSide dock_side_before_minimized_; | 237 DevToolsDockSide dock_side_before_minimized_; |
| 238 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 238 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ | 241 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |