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

Side by Side Diff: Source/web/ExternalDateTimeChooser.h

Issue 474183002: Cleanup namespace usage in Source/web/*.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/web/EditorClientImpl.h ('k') | Source/web/FindInPageCoordinates.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * SUCH DAMAGE. 23 * SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef ExternalDateTimeChooser_h 26 #ifndef ExternalDateTimeChooser_h
27 #define ExternalDateTimeChooser_h 27 #define ExternalDateTimeChooser_h
28 28
29 #if !ENABLE(INPUT_MULTIPLE_FIELDS_UI) 29 #if !ENABLE(INPUT_MULTIPLE_FIELDS_UI)
30 #include "platform/DateTimeChooser.h" 30 #include "platform/DateTimeChooser.h"
31 31
32 namespace blink { 32 namespace blink {
33 class DateTimeChooserClient;
34 }
35
36 namespace blink {
37 33
38 class ChromeClientImpl; 34 class ChromeClientImpl;
35 class DateTimeChooserClient;
39 class WebString; 36 class WebString;
40 class WebViewClient; 37 class WebViewClient;
41 38
42 class ExternalDateTimeChooser FINAL : public blink::DateTimeChooser { 39 class ExternalDateTimeChooser FINAL : public DateTimeChooser {
43 public: 40 public:
44 static PassRefPtrWillBeRawPtr<ExternalDateTimeChooser> create(ChromeClientIm pl*, WebViewClient*, blink::DateTimeChooserClient*, const blink::DateTimeChooser Parameters&); 41 static PassRefPtrWillBeRawPtr<ExternalDateTimeChooser> create(ChromeClientIm pl*, WebViewClient*, DateTimeChooserClient*, const DateTimeChooserParameters&);
45 virtual ~ExternalDateTimeChooser(); 42 virtual ~ExternalDateTimeChooser();
46 43
47 // The following functions are for DateTimeChooserCompletion. 44 // The following functions are for DateTimeChooserCompletion.
48 void didChooseValue(const WebString&); 45 void didChooseValue(const WebString&);
49 void didChooseValue(double); 46 void didChooseValue(double);
50 void didCancelChooser(); 47 void didCancelChooser();
51 48
52 private: 49 private:
53 ExternalDateTimeChooser(blink::DateTimeChooserClient*); 50 ExternalDateTimeChooser(DateTimeChooserClient*);
54 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const blink::Dat eTimeChooserParameters&); 51 bool openDateTimeChooser(ChromeClientImpl*, WebViewClient*, const DateTimeCh ooserParameters&);
55 52
56 // DateTimeChooser function: 53 // DateTimeChooser function:
57 virtual void endChooser() OVERRIDE; 54 virtual void endChooser() OVERRIDE;
58 55
59 blink::DateTimeChooserClient* m_client; 56 DateTimeChooserClient* m_client;
60 }; 57 };
61 58
62 } 59 }
63 #endif 60 #endif
64 61
65 #endif 62 #endif
OLDNEW
« no previous file with comments | « Source/web/EditorClientImpl.h ('k') | Source/web/FindInPageCoordinates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698