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

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

Issue 15533003: [Android] Implement min/max on all supported date types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/browser/android/date_time_chooser_android.cc ('k') | content/common/view_messages.h » ('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 #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 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2356 const gfx::RectF& active_rect) { 2356 const gfx::RectF& active_rect) {
2357 if (delegate_) 2357 if (delegate_)
2358 delegate_->FindMatchRectsReply(this, version, rects, active_rect); 2358 delegate_->FindMatchRectsReply(this, version, rects, active_rect);
2359 } 2359 }
2360 2360
2361 void WebContentsImpl::OnOpenDateTimeDialog( 2361 void WebContentsImpl::OnOpenDateTimeDialog(
2362 const ViewHostMsg_DateTimeDialogValue_Params& value) { 2362 const ViewHostMsg_DateTimeDialogValue_Params& value) {
2363 date_time_chooser_->ShowDialog( 2363 date_time_chooser_->ShowDialog(
2364 ContentViewCore::FromWebContents(this), GetRenderViewHost(), 2364 ContentViewCore::FromWebContents(this), GetRenderViewHost(),
2365 value.dialog_type, value.year, value.month, value.day, value.hour, 2365 value.dialog_type, value.year, value.month, value.day, value.hour,
2366 value.minute, value.second); 2366 value.minute, value.second, value.minimum, value.maximum);
2367 } 2367 }
2368 2368
2369 #endif 2369 #endif
2370 2370
2371 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path, 2371 void WebContentsImpl::OnCrashedPlugin(const base::FilePath& plugin_path,
2372 base::ProcessId plugin_pid) { 2372 base::ProcessId plugin_pid) {
2373 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 2373 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
2374 PluginCrashed(plugin_path, plugin_pid)); 2374 PluginCrashed(plugin_path, plugin_pid));
2375 } 2375 }
2376 2376
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3580 } 3580 }
3581 3581
3582 BrowserPluginGuestManager* 3582 BrowserPluginGuestManager*
3583 WebContentsImpl::GetBrowserPluginGuestManager() const { 3583 WebContentsImpl::GetBrowserPluginGuestManager() const {
3584 return static_cast<BrowserPluginGuestManager*>( 3584 return static_cast<BrowserPluginGuestManager*>(
3585 GetBrowserContext()->GetUserData( 3585 GetBrowserContext()->GetUserData(
3586 browser_plugin::kBrowserPluginGuestManagerKeyName)); 3586 browser_plugin::kBrowserPluginGuestManagerKeyName));
3587 } 3587 }
3588 3588
3589 } // namespace content 3589 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/date_time_chooser_android.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698