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

Side by Side Diff: content/renderer/android/renderer_date_time_picker.h

Issue 893333004: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix formatting Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_
6 #define CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ 6 #define CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_view_observer.h" 9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" 10 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h"
11 11
12 struct ViewHostMsg_DateTimeDialogValue_Params; 12 struct ViewHostMsg_DateTimeDialogValue_Params;
13 13
14 namespace blink { 14 namespace blink {
15 class WebDateTimeChooserCompletion; 15 class WebDateTimeChooserCompletion;
16 } // namespace blink 16 } // namespace blink
17 17
18 namespace content { 18 namespace content {
19 class RenderViewImpl; 19 class RenderViewImpl;
20 20
21 class RendererDateTimePicker : public RenderViewObserver { 21 class RendererDateTimePicker : public RenderViewObserver {
22 public: 22 public:
23 RendererDateTimePicker( 23 RendererDateTimePicker(
24 RenderViewImpl* sender, 24 RenderViewImpl* sender,
25 const blink::WebDateTimeChooserParams& params, 25 const blink::WebDateTimeChooserParams& params,
26 blink::WebDateTimeChooserCompletion* completion); 26 blink::WebDateTimeChooserCompletion* completion);
27 virtual ~RendererDateTimePicker(); 27 ~RendererDateTimePicker() override;
28 28
29 bool Open(); 29 bool Open();
30 30
31 private: 31 private:
32 void OnReplaceDateTime(double value); 32 void OnReplaceDateTime(double value);
33 void OnCancel(); 33 void OnCancel();
34 34
35 // RenderViewObserver 35 // RenderViewObserver
36 virtual bool OnMessageReceived(const IPC::Message& message) override; 36 bool OnMessageReceived(const IPC::Message& message) override;
37 37
38 blink::WebDateTimeChooserParams chooser_params_; 38 blink::WebDateTimeChooserParams chooser_params_;
39 blink::WebDateTimeChooserCompletion* chooser_completion_; // Not owned by us 39 blink::WebDateTimeChooserCompletion* chooser_completion_; // Not owned by us
40 40
41 DISALLOW_COPY_AND_ASSIGN(RendererDateTimePicker); 41 DISALLOW_COPY_AND_ASSIGN(RendererDateTimePicker);
42 }; 42 };
43 43
44 } // namespace content 44 } // namespace content
45 45
46 #endif // CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ 46 #endif // CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_
OLDNEW
« no previous file with comments | « content/renderer/android/phone_number_detector.h ('k') | content/renderer/gpu/stream_texture_host_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698