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

Side by Side Diff: content/public/browser/web_contents_delegate.cc

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, 4 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 #include "content/public/browser/web_contents_delegate.h" 5 #include "content/public/browser/web_contents_delegate.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() { 138 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager() {
139 return NULL; 139 return NULL;
140 } 140 }
141 141
142 bool WebContentsDelegate::IsFullscreenForTabOrPending( 142 bool WebContentsDelegate::IsFullscreenForTabOrPending(
143 const WebContents* web_contents) const { 143 const WebContents* web_contents) const {
144 return false; 144 return false;
145 } 145 }
146 146
147 content::ColorChooser* WebContentsDelegate::OpenColorChooser( 147 content::ColorChooser* WebContentsDelegate::OpenColorChooser(
148 WebContents* web_contents, SkColor color) { 148 WebContents* web_contents,
newt (away) 2013/08/19 23:18:19 indented too far
keishi 2013/08/26 05:28:54 Done.
149 SkColor color,
150 const std::vector<SkColor>& suggestions,
151 const std::vector<string16>& suggestion_labels) {
149 return NULL; 152 return NULL;
150 } 153 }
151 154
152 bool WebContentsDelegate::RequestPpapiBrokerPermission( 155 bool WebContentsDelegate::RequestPpapiBrokerPermission(
153 WebContents* web_contents, 156 WebContents* web_contents,
154 const GURL& url, 157 const GURL& url,
155 const base::FilePath& plugin_path, 158 const base::FilePath& plugin_path,
156 const base::Callback<void(bool)>& callback) { 159 const base::Callback<void(bool)>& callback) {
157 return false; 160 return false;
158 } 161 }
(...skipping 10 matching lines...) Expand all
169 DCHECK(attached_contents_.find(web_contents) == attached_contents_.end()); 172 DCHECK(attached_contents_.find(web_contents) == attached_contents_.end());
170 attached_contents_.insert(web_contents); 173 attached_contents_.insert(web_contents);
171 } 174 }
172 175
173 void WebContentsDelegate::Detach(WebContents* web_contents) { 176 void WebContentsDelegate::Detach(WebContents* web_contents) {
174 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end()); 177 DCHECK(attached_contents_.find(web_contents) != attached_contents_.end());
175 attached_contents_.erase(web_contents); 178 attached_contents_.erase(web_contents);
176 } 179 }
177 180
178 } // namespace content 181 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698