Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: chrome/browser/devtools/devtools_window.h

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698