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

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: 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 | 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/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after
2302 const gfx::RectF& active_rect) { 2302 const gfx::RectF& active_rect) {
2303 if (delegate_) 2303 if (delegate_)
2304 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2304 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
2305 } 2305 }
2306 2306
2307 void WebContentsImpl::OnOpenDateTimeDialog( 2307 void WebContentsImpl::OnOpenDateTimeDialog(
2308 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2308 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2309 date_time_chooser_->ShowDialog( 2309 date_time_chooser_->ShowDialog(
2310 ContentViewCore::FromWebContents(this), GetRenderViewHost(), 2310 ContentViewCore::FromWebContents(this), GetRenderViewHost(),
2311 value.dialog_type, value.year, value.month, value.day, value.hour, 2311 value.dialog_type, value.year, value.month, value.day, value.hour,
2312 value.minute, value.second); 2312 value.minute, value.second, value.week_year, value.week);
2313 } 2313 }
2314 2314
2315 #endif 2315 #endif
2316 2316
2317 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, 2317 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path,
2318 base::ProcessId plugin_pid) { 2318 base::ProcessId plugin_pid) {
2319 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2319 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2320 PluginCrashed(plugin_path, plugin_pid)); 2320 PluginCrashed(plugin_path, plugin_pid));
2321 } 2321 }
2322 2322
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after
3457 } 3457 }
3458 3458
3459 BrowserPluginGuestManager* 3459 BrowserPluginGuestManager*
3460 WebContentsImpl::GetBrowserPluginGuestManager() const { 3460 WebContentsImpl::GetBrowserPluginGuestManager() const {
3461 return static_cast<BrowserPluginGuestManager*>( 3461 return static_cast<BrowserPluginGuestManager*>(
3462 GetBrowserContext()->GetUserData( 3462 GetBrowserContext()->GetUserData(
3463 browser_plugin::kBrowserPluginGuestManagerKeyName)); 3463 browser_plugin::kBrowserPluginGuestManagerKeyName));
3464 } 3464 }
3465 3465
3466 } // namespace content 3466 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698