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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 15057004: Week picker for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed WebRuntimeFeatures::enableInputTypeWeek Created 7 years, 6 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/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 2413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 const gfx::RectF& active_rect) { 2424 const gfx::RectF& active_rect) {
2425 if (delegate_) 2425 if (delegate_)
2426 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2426 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
2427 } 2427 }
2428 2428
2429 void WebContentsImpl::OnOpenDateTimeDialog( 2429 void WebContentsImpl::OnOpenDateTimeDialog(
2430 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2430 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2431 date_time_chooser_->ShowDialog( 2431 date_time_chooser_->ShowDialog(
2432 ContentViewCore::FromWebContents(this), GetRenderViewHost(), 2432 ContentViewCore::FromWebContents(this), GetRenderViewHost(),
2433 value.dialog_type, value.year, value.month, value.day, value.hour, 2433 value.dialog_type, value.year, value.month, value.day, value.hour,
2434 value.minute, value.second, value.minimum, value.maximum); 2434 value.minute, value.second, value.week, value.minimum, value.maximum);
2435 } 2435 }
2436 2436
2437 #endif 2437 #endif
2438 2438
2439 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, 2439 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path,
2440 base::ProcessId plugin_pid) { 2440 base::ProcessId plugin_pid) {
2441 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2441 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2442 PluginCrashed(plugin_path, plugin_pid)); 2442 PluginCrashed(plugin_path, plugin_pid));
2443 } 2443 }
2444 2444
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after
3662 } 3662 }
3663 3663
3664 BrowserPluginGuestManager* 3664 BrowserPluginGuestManager*
3665 WebContentsImpl::GetBrowserPluginGuestManager() const { 3665 WebContentsImpl::GetBrowserPluginGuestManager() const {
3666 return static_cast<BrowserPluginGuestManager*>( 3666 return static_cast<BrowserPluginGuestManager*>(
3667 GetBrowserContext()->GetUserData( 3667 GetBrowserContext()->GetUserData(
3668 browser_plugin::kBrowserPluginGuestManagerKeyName)); 3668 browser_plugin::kBrowserPluginGuestManagerKeyName));
3669 } 3669 }
3670 3670
3671 } // namespace content 3671 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698