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

Side by Side Diff: extensions/browser/api/app_window/app_window_api.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (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 EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
6 #define EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_ 6 #define EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
7 7
8 #include "extensions/browser/app_window/app_window.h" 8 #include "extensions/browser/app_window/app_window.h"
9 #include "extensions/browser/extension_function.h" 9 #include "extensions/browser/extension_function.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 namespace core_api { 13 namespace core_api {
14 namespace app_window { 14 namespace app_window {
15 struct CreateWindowOptions; 15 struct CreateWindowOptions;
16 } 16 }
17 } 17 }
18 18
19 class AppWindowCreateFunction : public AsyncExtensionFunction { 19 class AppWindowCreateFunction : public AsyncExtensionFunction {
20 public: 20 public:
21 AppWindowCreateFunction(); 21 AppWindowCreateFunction();
22 DECLARE_EXTENSION_FUNCTION("app.window.create", APP_WINDOW_CREATE) 22 DECLARE_EXTENSION_FUNCTION("app.window.create", APP_WINDOW_CREATE)
23 23
24 protected: 24 protected:
25 virtual ~AppWindowCreateFunction() {} 25 virtual ~AppWindowCreateFunction() {}
26 virtual bool RunAsync() OVERRIDE; 26 virtual bool RunAsync() override;
27 27
28 private: 28 private:
29 bool GetBoundsSpec( 29 bool GetBoundsSpec(
30 const extensions::core_api::app_window::CreateWindowOptions& options, 30 const extensions::core_api::app_window::CreateWindowOptions& options,
31 AppWindow::CreateParams* params, 31 AppWindow::CreateParams* params,
32 std::string* error); 32 std::string* error);
33 33
34 AppWindow::Frame GetFrameFromString(const std::string& frame_string); 34 AppWindow::Frame GetFrameFromString(const std::string& frame_string);
35 bool GetFrameOptions( 35 bool GetFrameOptions(
36 const extensions::core_api::app_window::CreateWindowOptions& options, 36 const extensions::core_api::app_window::CreateWindowOptions& options,
37 AppWindow::CreateParams* create_params); 37 AppWindow::CreateParams* create_params);
38 void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params); 38 void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params);
39 39
40 bool inject_html_titlebar_; 40 bool inject_html_titlebar_;
41 }; 41 };
42 42
43 } // namespace extensions 43 } // namespace extensions
44 44
45 #endif // EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_ 45 #endif // EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/app_view/app_view_internal_api.h ('k') | extensions/browser/api/app_window/app_window_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698