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

Side by Side Diff: chrome/browser/extensions/display_info_provider_win.h

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_
6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_ 6 #define CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_
7 7
8 #include "extensions/browser/api/system_display/display_info_provider.h" 8 #include "extensions/browser/api/system_display/display_info_provider.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 class DisplayInfoProviderWin : public DisplayInfoProvider { 12 class DisplayInfoProviderWin : public DisplayInfoProvider {
13 public: 13 public:
14 DisplayInfoProviderWin(); 14 DisplayInfoProviderWin();
15 virtual ~DisplayInfoProviderWin(); 15 ~DisplayInfoProviderWin() override;
16 16
17 // DisplayInfoProvider implementation. 17 // DisplayInfoProvider implementation.
18 virtual bool SetInfo(const std::string& display_id, 18 bool SetInfo(const std::string& display_id,
19 const core_api::system_display::DisplayProperties& info, 19 const core_api::system_display::DisplayProperties& info,
20 std::string* error) override; 20 std::string* error) override;
21 virtual void UpdateDisplayUnitInfoForPlatform( 21 void UpdateDisplayUnitInfoForPlatform(
22 const gfx::Display& display, 22 const gfx::Display& display,
23 core_api::system_display::DisplayUnitInfo* unit) override; 23 core_api::system_display::DisplayUnitInfo* unit) override;
24 virtual gfx::Screen* GetActiveScreen() override; 24 gfx::Screen* GetActiveScreen() override;
25 25
26 private: 26 private:
27 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderWin); 27 DISALLOW_COPY_AND_ASSIGN(DisplayInfoProviderWin);
28 }; 28 };
29 29
30 } // namespace extensions 30 } // namespace extensions
31 31
32 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_ 32 #endif // CHROME_BROWSER_EXTENSIONS_DISPLAY_INFO_PROVIDER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/socket/tls_socket_unittest.cc ('k') | chrome/browser/extensions/external_registry_loader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698