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

Side by Side Diff: ui/views_content_client/views_content_client_main_parts.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (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 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_ 5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_
6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_ 6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/browser_main_parts.h" 10 #include "content/public/browser/browser_main_parts.h"
(...skipping 14 matching lines...) Expand all
25 class ViewsContentClientMainParts : public content::BrowserMainParts { 25 class ViewsContentClientMainParts : public content::BrowserMainParts {
26 public: 26 public:
27 // Platform-specific create function. 27 // Platform-specific create function.
28 static ViewsContentClientMainParts* Create( 28 static ViewsContentClientMainParts* Create(
29 const content::MainFunctionParams& content_params, 29 const content::MainFunctionParams& content_params,
30 ViewsContentClient* views_content_client); 30 ViewsContentClient* views_content_client);
31 31
32 virtual ~ViewsContentClientMainParts(); 32 virtual ~ViewsContentClientMainParts();
33 33
34 // content::BrowserMainParts: 34 // content::BrowserMainParts:
35 virtual void PreMainMessageLoopRun() OVERRIDE; 35 virtual void PreMainMessageLoopRun() override;
36 virtual bool MainMessageLoopRun(int* result_code) OVERRIDE; 36 virtual bool MainMessageLoopRun(int* result_code) override;
37 virtual void PostMainMessageLoopRun() OVERRIDE; 37 virtual void PostMainMessageLoopRun() override;
38 38
39 content::ShellBrowserContext* browser_context() { 39 content::ShellBrowserContext* browser_context() {
40 return browser_context_.get(); 40 return browser_context_.get();
41 } 41 }
42 42
43 ViewsContentClient* views_content_client() { 43 ViewsContentClient* views_content_client() {
44 return views_content_client_; 44 return views_content_client_;
45 } 45 }
46 46
47 protected: 47 protected:
48 ViewsContentClientMainParts( 48 ViewsContentClientMainParts(
49 const content::MainFunctionParams& content_params, 49 const content::MainFunctionParams& content_params,
50 ViewsContentClient* views_content_client); 50 ViewsContentClient* views_content_client);
51 51
52 private: 52 private:
53 scoped_ptr<content::ShellBrowserContext> browser_context_; 53 scoped_ptr<content::ShellBrowserContext> browser_context_;
54 54
55 scoped_ptr<views::ViewsDelegate> views_delegate_; 55 scoped_ptr<views::ViewsDelegate> views_delegate_;
56 56
57 ViewsContentClient* views_content_client_; 57 ViewsContentClient* views_content_client_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainParts); 59 DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainParts);
60 }; 60 };
61 61
62 } // namespace ui 62 } // namespace ui
63 63
64 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_ 64 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « ui/views_content_client/views_content_browser_client.h ('k') | ui/views_content_client/views_content_client_main_parts_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698