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

Side by Side Diff: chrome/browser/task_manager/panel_information.cc

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/task_manager/panel_information.h" 5 #include "chrome/browser/task_manager/panel_information.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/task_manager/renderer_resource.h" 10 #include "chrome/browser/task_manager/renderer_resource.h"
(...skipping 17 matching lines...) Expand all
28 using extensions::Extension; 28 using extensions::Extension;
29 29
30 namespace task_manager { 30 namespace task_manager {
31 31
32 class PanelResource : public RendererResource { 32 class PanelResource : public RendererResource {
33 public: 33 public:
34 explicit PanelResource(Panel* panel); 34 explicit PanelResource(Panel* panel);
35 virtual ~PanelResource(); 35 virtual ~PanelResource();
36 36
37 // Resource methods: 37 // Resource methods:
38 virtual Type GetType() const OVERRIDE; 38 virtual Type GetType() const override;
39 virtual base::string16 GetTitle() const OVERRIDE; 39 virtual base::string16 GetTitle() const override;
40 virtual gfx::ImageSkia GetIcon() const OVERRIDE; 40 virtual gfx::ImageSkia GetIcon() const override;
41 virtual content::WebContents* GetWebContents() const OVERRIDE; 41 virtual content::WebContents* GetWebContents() const override;
42 42
43 private: 43 private:
44 Panel* panel_; 44 Panel* panel_;
45 // Determines prefix for title reflecting whether extensions are apps 45 // Determines prefix for title reflecting whether extensions are apps
46 // or in incognito mode. 46 // or in incognito mode.
47 int message_prefix_id_; 47 int message_prefix_id_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(PanelResource); 49 DISALLOW_COPY_AND_ASSIGN(PanelResource);
50 }; 50 };
51 51
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 for (size_t i = 0; i < panels.size(); ++i) { 126 for (size_t i = 0; i < panels.size(); ++i) {
127 if (panels[i]->GetWebContents() == web_contents) { 127 if (panels[i]->GetWebContents() == web_contents) {
128 return scoped_ptr<RendererResource>(new PanelResource(panels[i])); 128 return scoped_ptr<RendererResource>(new PanelResource(panels[i]));
129 } 129 }
130 } 130 }
131 NOTREACHED(); 131 NOTREACHED();
132 return scoped_ptr<RendererResource>(); 132 return scoped_ptr<RendererResource>();
133 } 133 }
134 134
135 } // namespace task_manager 135 } // namespace task_manager
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/panel_information.h ('k') | chrome/browser/task_manager/printing_information.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698