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

Side by Side Diff: content/browser/debugger/devtools_window.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 private: 60 private:
61 DevToolsWindow(Profile* profile, RenderViewHost* inspected_rvh, bool docked); 61 DevToolsWindow(Profile* profile, RenderViewHost* inspected_rvh, bool docked);
62 62
63 void CreateDevToolsBrowser(); 63 void CreateDevToolsBrowser();
64 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab); 64 bool FindInspectedBrowserAndTabIndex(Browser**, int* tab);
65 BrowserWindow* GetInspectedBrowserWindow(); 65 BrowserWindow* GetInspectedBrowserWindow();
66 bool IsInspectedBrowserPopupOrPanel(); 66 bool IsInspectedBrowserPopupOrPanel();
67 void UpdateFrontendAttachedState(); 67 void UpdateFrontendAttachedState();
68 68
69 // Overridden from NotificationObserver. 69 // Overridden from NotificationObserver.
70 virtual void Observe(NotificationType type, 70 virtual void Observe(int type,
71 const NotificationSource& source, 71 const NotificationSource& source,
72 const NotificationDetails& details); 72 const NotificationDetails& details);
73 73
74 void ScheduleAction(DevToolsToggleAction action); 74 void ScheduleAction(DevToolsToggleAction action);
75 void DoAction(); 75 void DoAction();
76 GURL GetDevToolsUrl(); 76 GURL GetDevToolsUrl();
77 void UpdateTheme(); 77 void UpdateTheme();
78 void AddDevToolsExtensionsToClient(); 78 void AddDevToolsExtensionsToClient();
79 void CallClientFunction(const string16& function_name, 79 void CallClientFunction(const string16& function_name,
80 const Value& arg); 80 const Value& arg);
(...skipping 28 matching lines...) Expand all
109 bool docked_; 109 bool docked_;
110 bool is_loaded_; 110 bool is_loaded_;
111 DevToolsToggleAction action_on_load_; 111 DevToolsToggleAction action_on_load_;
112 NotificationRegistrar registrar_; 112 NotificationRegistrar registrar_;
113 typedef std::vector<DevToolsWindow*> DevToolsWindowList; 113 typedef std::vector<DevToolsWindow*> DevToolsWindowList;
114 static DevToolsWindowList instances_; 114 static DevToolsWindowList instances_;
115 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 115 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
116 }; 116 };
117 117
118 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 118 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_sanity_unittest.cc ('k') | content/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698