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

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

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Fixed android build Created 7 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual void CloseContents(content::WebContents* source) OVERRIDE {} 173 virtual void CloseContents(content::WebContents* source) OVERRIDE {}
174 virtual bool PreHandleKeyboardEvent( 174 virtual bool PreHandleKeyboardEvent(
175 content::WebContents* source, 175 content::WebContents* source,
176 const content::NativeWebKeyboardEvent& event, 176 const content::NativeWebKeyboardEvent& event,
177 bool* is_keyboard_shortcut) OVERRIDE; 177 bool* is_keyboard_shortcut) OVERRIDE;
178 virtual void HandleKeyboardEvent( 178 virtual void HandleKeyboardEvent(
179 content::WebContents* source, 179 content::WebContents* source,
180 const content::NativeWebKeyboardEvent& event) OVERRIDE; 180 const content::NativeWebKeyboardEvent& event) OVERRIDE;
181 virtual content::JavaScriptDialogManager* 181 virtual content::JavaScriptDialogManager*
182 GetJavaScriptDialogManager() OVERRIDE; 182 GetJavaScriptDialogManager() OVERRIDE;
183 virtual content::ColorChooser* OpenColorChooser(
184 content::WebContents* web_contents,
185 SkColor color) OVERRIDE;
183 virtual void RunFileChooser( 186 virtual void RunFileChooser(
184 content::WebContents* web_contents, 187 content::WebContents* web_contents,
185 const content::FileChooserParams& params) OVERRIDE; 188 const content::FileChooserParams& params) OVERRIDE;
186 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 189 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
187 190
188 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*); 191 static DevToolsWindow* FindDevToolsWindow(content::DevToolsAgentHost*);
189 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*); 192 static DevToolsWindow* AsDevToolsWindow(content::RenderViewHost*);
190 193
191 // content::DevToolsFrontendHostDelegate overrides. 194 // content::DevToolsFrontendHostDelegate overrides.
192 virtual void ActivateWindow() OVERRIDE; 195 virtual void ActivateWindow() OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 scoped_ptr<content::DevToolsClientHost> frontend_host_; 241 scoped_ptr<content::DevToolsClientHost> frontend_host_;
239 base::WeakPtrFactory<DevToolsWindow> weak_factory_; 242 base::WeakPtrFactory<DevToolsWindow> weak_factory_;
240 scoped_ptr<DevToolsFileHelper> file_helper_; 243 scoped_ptr<DevToolsFileHelper> file_helper_;
241 int width_; 244 int width_;
242 int height_; 245 int height_;
243 DevToolsDockSide dock_side_before_minimized_; 246 DevToolsDockSide dock_side_before_minimized_;
244 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 247 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
245 }; 248 };
246 249
247 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_ 250 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698