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

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

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/ColorChooserPopupUIController.h ('k') | Source/web/ContextFeaturesClientImpl.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 30 matching lines...) Expand all
41 class WebColorChooser; 41 class WebColorChooser;
42 42
43 class ColorChooserUIController : public WebColorChooserClient, public WebCore::C olorChooser { 43 class ColorChooserUIController : public WebColorChooserClient, public WebCore::C olorChooser {
44 public: 44 public:
45 ColorChooserUIController(ChromeClientImpl*, WebCore::ColorChooserClient*); 45 ColorChooserUIController(ChromeClientImpl*, WebCore::ColorChooserClient*);
46 virtual ~ColorChooserUIController(); 46 virtual ~ColorChooserUIController();
47 47
48 virtual void openUI(); 48 virtual void openUI();
49 49
50 // ColorChooser functions: 50 // ColorChooser functions:
51 virtual void setSelectedColor(const WebCore::Color&) OVERRIDE; 51 virtual void setSelectedColor(const WebCore::Color&) OVERRIDE FINAL;
52 virtual void endChooser() OVERRIDE; 52 virtual void endChooser() OVERRIDE;
53 53
54 // WebColorChooserClient functions: 54 // WebColorChooserClient functions:
55 virtual void didChooseColor(const WebColor&) OVERRIDE; 55 virtual void didChooseColor(const WebColor&) OVERRIDE FINAL;
56 virtual void didEndChooser() OVERRIDE; 56 virtual void didEndChooser() OVERRIDE FINAL;
57 57
58 protected: 58 protected:
59 void openColorChooser(); 59 void openColorChooser();
60 OwnPtr<WebColorChooser> m_chooser; 60 OwnPtr<WebColorChooser> m_chooser;
61 61
62 private: 62 private:
63 63
64 ChromeClientImpl* m_chromeClient; 64 ChromeClientImpl* m_chromeClient;
65 WebCore::ColorChooserClient* m_client; 65 WebCore::ColorChooserClient* m_client;
66 }; 66 };
67 67
68 } 68 }
69 69
70 #endif // ColorChooserUIController_h 70 #endif // ColorChooserUIController_h
OLDNEW
« no previous file with comments | « Source/web/ColorChooserPopupUIController.h ('k') | Source/web/ContextFeaturesClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698