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

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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DevToolsDockSide dock_side, 125 DevToolsDockSide dock_side,
126 bool shared_worker_frontend); 126 bool shared_worker_frontend);
127 DevToolsWindow(content::WebContents* web_contents, 127 DevToolsWindow(content::WebContents* web_contents,
128 Profile* profile, 128 Profile* profile,
129 content::RenderViewHost* inspected_rvh, 129 content::RenderViewHost* inspected_rvh,
130 DevToolsDockSide dock_side); 130 DevToolsDockSide dock_side);
131 131
132 void CreateDevToolsBrowser(); 132 void CreateDevToolsBrowser();
133 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); 133 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab);
134 BrowserWindow* GetInspectedBrowserWindow(); 134 BrowserWindow* GetInspectedBrowserWindow();
135 bool IsInspectedBrowserPopupOrPanel(); 135 bool IsInspectedBrowserPopup();
136 void UpdateFrontendDockSide(); 136 void UpdateFrontendDockSide();
137 void Hide(); 137 void Hide();
138 138
139 // Overridden from content::NotificationObserver. 139 // Overridden from content::NotificationObserver.
140 virtual void Observe(int type, 140 virtual void Observe(int type,
141 const content::NotificationSource& source, 141 const content::NotificationSource& source,
142 const content::NotificationDetails& details) OVERRIDE; 142 const content::NotificationDetails& details) OVERRIDE;
143 143
144 void ScheduleAction(DevToolsToggleAction action); 144 void ScheduleAction(DevToolsToggleAction action);
145 void DoAction(); 145 void DoAction();
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 scoped_ptr<content::DevToolsClientHost> frontend_host_; 225 scoped_ptr<content::DevToolsClientHost> frontend_host_;
226 base::WeakPtrFactory<DevToolsWindow> weak_factory_; 226 base::WeakPtrFactory<DevToolsWindow> weak_factory_;
227 scoped_ptr<DevToolsFileHelper> file_helper_; 227 scoped_ptr<DevToolsFileHelper> file_helper_;
228 int width_; 228 int width_;
229 int height_; 229 int height_;
230 DevToolsDockSide dock_side_before_minimized_; 230 DevToolsDockSide dock_side_before_minimized_;
231 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 231 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
232 }; 232 };
233 233
234 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 234 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698