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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 7 years, 12 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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/devtools/devtools_file_helper.h" 13 #include "chrome/browser/devtools/devtools_file_helper.h"
14 #include "chrome/browser/devtools/devtools_toggle_action.h" 14 #include "chrome/browser/devtools/devtools_toggle_action.h"
15 #include "content/public/browser/devtools_client_host.h" 15 #include "content/public/browser/devtools_client_host.h"
16 #include "content/public/browser/devtools_frontend_host_delegate.h" 16 #include "content/public/browser/devtools_frontend_host_delegate.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 #include "content/public/browser/web_contents_delegate.h" 19 #include "content/public/browser/web_contents_delegate.h"
20 20
21 class Browser; 21 class Browser;
22 class BrowserWindow; 22 class BrowserWindow;
23 class PrefService; 23 class PrefServiceSyncable;
24 class Profile; 24 class Profile;
25 25
26 namespace base { 26 namespace base {
27 class Value; 27 class Value;
28 } 28 }
29 29
30 namespace chrome { 30 namespace chrome {
31 class BrowserListImpl; 31 class BrowserListImpl;
32 } 32 }
33 33
(...skipping 14 matching lines...) Expand all
48 DEVTOOLS_DOCK_SIDE_BOTTOM, 48 DEVTOOLS_DOCK_SIDE_BOTTOM,
49 DEVTOOLS_DOCK_SIDE_RIGHT 49 DEVTOOLS_DOCK_SIDE_RIGHT
50 }; 50 };
51 51
52 class DevToolsWindow : private content::NotificationObserver, 52 class DevToolsWindow : private content::NotificationObserver,
53 private content::WebContentsDelegate, 53 private content::WebContentsDelegate,
54 private content::DevToolsFrontendHostDelegate, 54 private content::DevToolsFrontendHostDelegate,
55 private DevToolsFileHelper::Delegate { 55 private DevToolsFileHelper::Delegate {
56 public: 56 public:
57 static const char kDevToolsApp[]; 57 static const char kDevToolsApp[];
58 static void RegisterUserPrefs(PrefService* prefs); 58 static void RegisterUserPrefs(PrefServiceSyncable* prefs);
59 static DevToolsWindow* GetDockedInstanceForInspectedTab( 59 static DevToolsWindow* GetDockedInstanceForInspectedTab(
60 content::WebContents* inspected_tab); 60 content::WebContents* inspected_tab);
61 static bool IsDevToolsWindow(content::RenderViewHost* window_rvh); 61 static bool IsDevToolsWindow(content::RenderViewHost* window_rvh);
62 62
63 static DevToolsWindow* OpenDevToolsWindowForWorker( 63 static DevToolsWindow* OpenDevToolsWindowForWorker(
64 Profile* profile, 64 Profile* profile,
65 content::DevToolsAgentHost* worker_agent); 65 content::DevToolsAgentHost* worker_agent);
66 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile); 66 static DevToolsWindow* CreateDevToolsWindowForWorker(Profile* profile);
67 static DevToolsWindow* OpenDevToolsWindow( 67 static DevToolsWindow* OpenDevToolsWindow(
68 content::RenderViewHost* inspected_rvh); 68 content::RenderViewHost* inspected_rvh);
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 DevToolsToggleAction action_on_load_; 202 DevToolsToggleAction action_on_load_;
203 content::NotificationRegistrar registrar_; 203 content::NotificationRegistrar registrar_;
204 content::DevToolsClientHost* frontend_host_; 204 content::DevToolsClientHost* frontend_host_;
205 scoped_ptr<DevToolsFileHelper> file_helper_; 205 scoped_ptr<DevToolsFileHelper> file_helper_;
206 int width_; 206 int width_;
207 int height_; 207 int height_;
208 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 208 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
209 }; 209 };
210 210
211 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 211 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698