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: content/renderer/renderer_webcolorchooser_impl.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (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 #ifndef CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 void Open(SkColor initial_color, 34 void Open(SkColor initial_color,
35 const std::vector<content::ColorSuggestion>& suggestions); 35 const std::vector<content::ColorSuggestion>& suggestions);
36 36
37 blink::WebColorChooserClient* client() { return client_; } 37 blink::WebColorChooserClient* client() { return client_; }
38 38
39 private: 39 private:
40 // RenderFrameObserver implementation: 40 // RenderFrameObserver implementation:
41 // Don't destroy the RendererWebColorChooserImpl when the RenderFrame goes 41 // Don't destroy the RendererWebColorChooserImpl when the RenderFrame goes
42 // away. RendererWebColorChooserImpl is owned by 42 // away. RendererWebColorChooserImpl is owned by
43 // blink::ColorChooserUIController. 43 // blink::ColorChooserUIController.
44 virtual void OnDestruct() OVERRIDE {} 44 virtual void OnDestruct() override {}
45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 45 virtual bool OnMessageReceived(const IPC::Message& message) override;
46 46
47 void OnDidChooseColorResponse(int color_chooser_id, SkColor color); 47 void OnDidChooseColorResponse(int color_chooser_id, SkColor color);
48 void OnDidEndColorChooser(int color_chooser_id); 48 void OnDidEndColorChooser(int color_chooser_id);
49 49
50 int identifier_; 50 int identifier_;
51 blink::WebColorChooserClient* client_; 51 blink::WebColorChooserClient* client_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl); 53 DISALLOW_COPY_AND_ASSIGN(RendererWebColorChooserImpl);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_ 58 #endif // CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_webapplicationcachehost_impl.h ('k') | content/renderer/resource_fetcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698