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

Side by Side Diff: extensions/shell/browser/shell_display_info_provider.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_
7 7
8 #include "base/macros.h"
8 #include "extensions/browser/api/system_display/display_info_provider.h" 9 #include "extensions/browser/api/system_display/display_info_provider.h"
9 10
10 namespace extensions { 11 namespace extensions {
11 12
12 class ShellDisplayInfoProvider : public DisplayInfoProvider { 13 class ShellDisplayInfoProvider : public DisplayInfoProvider {
13 public: 14 public:
14 ShellDisplayInfoProvider(); 15 ShellDisplayInfoProvider();
15 ~ShellDisplayInfoProvider() override; 16 ~ShellDisplayInfoProvider() override;
16 17
17 // DisplayInfoProvider implementation. 18 // DisplayInfoProvider implementation.
18 bool SetInfo(const std::string& display_id, 19 bool SetInfo(const std::string& display_id,
19 const api::system_display::DisplayProperties& info, 20 const api::system_display::DisplayProperties& info,
20 std::string* error) override; 21 std::string* error) override;
21 void UpdateDisplayUnitInfoForPlatform( 22 void UpdateDisplayUnitInfoForPlatform(
22 const gfx::Display& display, 23 const gfx::Display& display,
23 extensions::api::system_display::DisplayUnitInfo* unit) override; 24 extensions::api::system_display::DisplayUnitInfo* unit) override;
24 gfx::Screen* GetActiveScreen() override; 25 gfx::Screen* GetActiveScreen() override;
25 26
26 private: 27 private:
27 DISALLOW_COPY_AND_ASSIGN(ShellDisplayInfoProvider); 28 DISALLOW_COPY_AND_ASSIGN(ShellDisplayInfoProvider);
28 }; 29 };
29 30
30 } // namespace extensions 31 } // namespace extensions
31 32
32 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_ 33 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_DISPLAY_INFO_PROVIDER_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_desktop_controller_aura_unittest.cc ('k') | extensions/shell/browser/shell_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698