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

Side by Side Diff: content/shell/browser/shell_browser_main_parts.h

Issue 1812883003: Enable features API for content shell and webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_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 "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 21 matching lines...) Expand all
32 32
33 namespace content { 33 namespace content {
34 34
35 class ShellBrowserMainParts : public BrowserMainParts { 35 class ShellBrowserMainParts : public BrowserMainParts {
36 public: 36 public:
37 explicit ShellBrowserMainParts(const MainFunctionParams& parameters); 37 explicit ShellBrowserMainParts(const MainFunctionParams& parameters);
38 ~ShellBrowserMainParts() override; 38 ~ShellBrowserMainParts() override;
39 39
40 // BrowserMainParts overrides. 40 // BrowserMainParts overrides.
41 void PreEarlyInitialization() override; 41 void PreEarlyInitialization() override;
42 int PreCreateThreads() override;
42 void PreMainMessageLoopStart() override; 43 void PreMainMessageLoopStart() override;
43 void PostMainMessageLoopStart() override; 44 void PostMainMessageLoopStart() override;
44 void PreMainMessageLoopRun() override; 45 void PreMainMessageLoopRun() override;
45 bool MainMessageLoopRun(int* result_code) override; 46 bool MainMessageLoopRun(int* result_code) override;
46 void PostMainMessageLoopRun() override; 47 void PostMainMessageLoopRun() override;
47 void PostDestroyThreads() override; 48 void PostDestroyThreads() override;
48 49
49 devtools_http_handler::DevToolsHttpHandler* devtools_http_handler() { 50 devtools_http_handler::DevToolsHttpHandler* devtools_http_handler() {
50 return devtools_http_handler_.get(); 51 return devtools_http_handler_.get();
51 } 52 }
(...skipping 29 matching lines...) Expand all
81 bool run_message_loop_; 82 bool run_message_loop_;
82 83
83 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_; 84 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts); 86 DISALLOW_COPY_AND_ASSIGN(ShellBrowserMainParts);
86 }; 87 };
87 88
88 } // namespace content 89 } // namespace content
89 90
90 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_ 91 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_MAIN_PARTS_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/shell_browser_main_parts.cc » ('j') | content/shell/browser/shell_browser_main_parts.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698