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

Side by Side Diff: chrome/browser/ui/webui/flash_ui.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/gcm_internals_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/webui/flash_ui.h" 5 #include "chrome/browser/ui/webui/flash_ui.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // The handler for JavaScript messages for the about:flags page. 79 // The handler for JavaScript messages for the about:flags page.
80 class FlashDOMHandler : public WebUIMessageHandler, 80 class FlashDOMHandler : public WebUIMessageHandler,
81 public CrashUploadList::Delegate, 81 public CrashUploadList::Delegate,
82 public content::GpuDataManagerObserver { 82 public content::GpuDataManagerObserver {
83 public: 83 public:
84 FlashDOMHandler(); 84 FlashDOMHandler();
85 virtual ~FlashDOMHandler(); 85 virtual ~FlashDOMHandler();
86 86
87 // WebUIMessageHandler implementation. 87 // WebUIMessageHandler implementation.
88 virtual void RegisterMessages() OVERRIDE; 88 virtual void RegisterMessages() override;
89 89
90 // CrashUploadList::Delegate implementation. 90 // CrashUploadList::Delegate implementation.
91 virtual void OnUploadListAvailable() OVERRIDE; 91 virtual void OnUploadListAvailable() override;
92 92
93 // GpuDataManager::Observer implementation. 93 // GpuDataManager::Observer implementation.
94 virtual void OnGpuInfoUpdate() OVERRIDE; 94 virtual void OnGpuInfoUpdate() override;
95 95
96 // Callback for the "requestFlashInfo" message. 96 // Callback for the "requestFlashInfo" message.
97 void HandleRequestFlashInfo(const base::ListValue* args); 97 void HandleRequestFlashInfo(const base::ListValue* args);
98 98
99 // Callback for the Flash plugin information. 99 // Callback for the Flash plugin information.
100 void OnGotPlugins(const std::vector<content::WebPluginInfo>& plugins); 100 void OnGotPlugins(const std::vector<content::WebPluginInfo>& plugins);
101 101
102 private: 102 private:
103 // Called when we think we might have enough information to return data back 103 // Called when we think we might have enough information to return data back
104 // to the page. 104 // to the page.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 Profile* profile = Profile::FromWebUI(web_ui); 391 Profile* profile = Profile::FromWebUI(web_ui);
392 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource()); 392 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource());
393 } 393 }
394 394
395 // static 395 // static
396 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes( 396 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes(
397 ui::ScaleFactor scale_factor) { 397 ui::ScaleFactor scale_factor) {
398 // Use the default icon for now. 398 // Use the default icon for now.
399 return NULL; 399 return NULL;
400 } 400 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/gcm_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698