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

Side by Side Diff: Source/web/ColorChooserPopupUIController.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/BackForwardClientImpl.h ('k') | Source/web/ColorChooserUIController.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef ColorChooserPopupUIController_h 26 #ifndef ColorChooserPopupUIController_h
27 #define ColorChooserPopupUIController_h 27 #define ColorChooserPopupUIController_h
28 28
29 #include "core/page/PagePopupClient.h" 29 #include "core/page/PagePopupClient.h"
30 #include "web/ColorChooserUIController.h" 30 #include "web/ColorChooserUIController.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 class ColorChooserClient;
35 class PagePopup;
36 }
37
38 namespace blink {
39 34
40 class ChromeClientImpl; 35 class ChromeClientImpl;
36 class ColorChooserClient;
37 class PagePopup;
41 38
42 class ColorChooserPopupUIController FINAL : public ColorChooserUIController, pub lic blink::PagePopupClient { 39 class ColorChooserPopupUIController FINAL : public ColorChooserUIController, pub lic PagePopupClient {
43 40
44 public: 41 public:
45 ColorChooserPopupUIController(blink::LocalFrame*, ChromeClientImpl*, blink:: ColorChooserClient*); 42 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl ient*);
46 virtual ~ColorChooserPopupUIController(); 43 virtual ~ColorChooserPopupUIController();
47 44
48 // ColorChooserUIController functions: 45 // ColorChooserUIController functions:
49 virtual void openUI() OVERRIDE; 46 virtual void openUI() OVERRIDE;
50 47
51 // ColorChooser functions 48 // ColorChooser functions
52 void endChooser() OVERRIDE; 49 void endChooser() OVERRIDE;
53 50
54 // PagePopupClient functions: 51 // PagePopupClient functions:
55 virtual blink::IntSize contentSize() OVERRIDE; 52 virtual IntSize contentSize() OVERRIDE;
56 virtual void writeDocument(blink::SharedBuffer*) OVERRIDE; 53 virtual void writeDocument(SharedBuffer*) OVERRIDE;
57 virtual blink::Locale& locale() OVERRIDE; 54 virtual Locale& locale() OVERRIDE;
58 virtual void setValueAndClosePopup(int, const String&) OVERRIDE; 55 virtual void setValueAndClosePopup(int, const String&) OVERRIDE;
59 virtual void setValue(const String&) OVERRIDE; 56 virtual void setValue(const String&) OVERRIDE;
60 virtual void closePopup() OVERRIDE; 57 virtual void closePopup() OVERRIDE;
61 virtual void didClosePopup() OVERRIDE; 58 virtual void didClosePopup() OVERRIDE;
62 59
63 private: 60 private:
64 void openPopup(); 61 void openPopup();
65 62
66 ChromeClientImpl* m_chromeClient; 63 ChromeClientImpl* m_chromeClient;
67 blink::ColorChooserClient* m_client; 64 ColorChooserClient* m_client;
68 blink::PagePopup* m_popup; 65 PagePopup* m_popup;
69 blink::Locale& m_locale; 66 Locale& m_locale;
70 }; 67 };
68
71 } 69 }
72 70
73 #endif // ColorChooserPopupUIController_h 71 #endif // ColorChooserPopupUIController_h
OLDNEW
« no previous file with comments | « Source/web/BackForwardClientImpl.h ('k') | Source/web/ColorChooserUIController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698