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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const content::NativeWebKeyboardEvent& event, 165 const content::NativeWebKeyboardEvent& event,
166 bool* is_keyboard_shortcut) OVERRIDE; 166 bool* is_keyboard_shortcut) OVERRIDE;
167 virtual void HandleKeyboardEvent( 167 virtual void HandleKeyboardEvent(
168 content::WebContents* source, 168 content::WebContents* source,
169 const content::NativeWebKeyboardEvent& event) OVERRIDE; 169 const content::NativeWebKeyboardEvent& event) OVERRIDE;
170 virtual void ResizeDueToAutoResize(content::WebContents* source, 170 virtual void ResizeDueToAutoResize(content::WebContents* source,
171 const gfx::Size& new_size) OVERRIDE; 171 const gfx::Size& new_size) OVERRIDE;
172 virtual content::JavaScriptDialogManager* 172 virtual content::JavaScriptDialogManager*
173 GetJavaScriptDialogManager() OVERRIDE; 173 GetJavaScriptDialogManager() OVERRIDE;
174 virtual content::ColorChooser* OpenColorChooser( 174 virtual content::ColorChooser* OpenColorChooser(
175 content::WebContents* web_contents, SkColor color) OVERRIDE; 175 content::WebContents* web_contents,
176 SkColor color,
177 const std::vector<SkColor>& suggestions,
178 const std::vector<string16>& suggestion_labels) OVERRIDE;
176 virtual void RunFileChooser( 179 virtual void RunFileChooser(
177 content::WebContents* tab, 180 content::WebContents* tab,
178 const content::FileChooserParams& params) OVERRIDE; 181 const content::FileChooserParams& params) OVERRIDE;
179 virtual void AddNewContents(content::WebContents* source, 182 virtual void AddNewContents(content::WebContents* source,
180 content::WebContents* new_contents, 183 content::WebContents* new_contents,
181 WindowOpenDisposition disposition, 184 WindowOpenDisposition disposition,
182 const gfx::Rect& initial_pos, 185 const gfx::Rect& initial_pos,
183 bool user_gesture, 186 bool user_gesture,
184 bool* was_blocked) OVERRIDE; 187 bool* was_blocked) OVERRIDE;
185 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 188 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 294
292 // Used to measure how long it's been since the host was created. 295 // Used to measure how long it's been since the host was created.
293 base::ElapsedTimer since_created_; 296 base::ElapsedTimer since_created_;
294 297
295 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 298 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
296 }; 299 };
297 300
298 } // namespace extensions 301 } // namespace extensions
299 302
300 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 303 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698