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

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

Issue 12082123: Rename JavaScriptDialogCreator to JavaScriptDialogManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bool user_gesture, 156 bool user_gesture,
157 bool* was_blocked) OVERRIDE; 157 bool* was_blocked) OVERRIDE;
158 virtual void CloseContents(content::WebContents* source) OVERRIDE {} 158 virtual void CloseContents(content::WebContents* source) OVERRIDE {}
159 virtual bool PreHandleKeyboardEvent( 159 virtual bool PreHandleKeyboardEvent(
160 content::WebContents* source, 160 content::WebContents* source,
161 const content::NativeWebKeyboardEvent& event, 161 const content::NativeWebKeyboardEvent& event,
162 bool* is_keyboard_shortcut) OVERRIDE; 162 bool* is_keyboard_shortcut) OVERRIDE;
163 virtual void HandleKeyboardEvent( 163 virtual void HandleKeyboardEvent(
164 content::WebContents* source, 164 content::WebContents* source,
165 const content::NativeWebKeyboardEvent& event) OVERRIDE; 165 const content::NativeWebKeyboardEvent& event) OVERRIDE;
166 virtual content::JavaScriptDialogCreator* 166 virtual content::JavaScriptDialogManager*
167 GetJavaScriptDialogCreator() OVERRIDE; 167 GetJavaScriptDialogManager() OVERRIDE;
168 virtual void RunFileChooser( 168 virtual void RunFileChooser(
169 content::WebContents* web_contents, 169 content::WebContents* web_contents,
170 const content::FileChooserParams& params) OVERRIDE; 170 const content::FileChooserParams& params) OVERRIDE;
171 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 171 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
172 172
173 static DevToolsWindow* AsDevToolsWindow(content::DevToolsClientHost*); 173 static DevToolsWindow* AsDevToolsWindow(content::DevToolsClientHost*);
174 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); 174 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*);
175 175
176 // content::DevToolsFrontendHostDelegate overrides. 176 // content::DevToolsFrontendHostDelegate overrides.
177 virtual void ActivateWindow() OVERRIDE; 177 virtual void ActivateWindow() OVERRIDE;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 content::NotificationRegistrar registrar_; 212 content::NotificationRegistrar registrar_;
213 scoped_ptr<content::DevToolsClientHost> frontend_host_; 213 scoped_ptr<content::DevToolsClientHost> frontend_host_;
214 base::WeakPtrFactory<DevToolsWindow> weak_factory_; 214 base::WeakPtrFactory<DevToolsWindow> weak_factory_;
215 scoped_ptr<DevToolsFileHelper> file_helper_; 215 scoped_ptr<DevToolsFileHelper> file_helper_;
216 int width_; 216 int width_;
217 int height_; 217 int height_;
218 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 218 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
219 }; 219 };
220 220
221 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 221 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698