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

Side by Side Diff: ui/gfx/win/singleton_hwnd.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
« no previous file with comments | « ui/gfx/test/ui_cocoa_test_helper.h ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_GFX_WIN_SINGLETON_HWND_H_ 5 #ifndef UI_GFX_WIN_SINGLETON_HWND_H_
6 #define UI_GFX_WIN_SINGLETON_HWND_H_ 6 #define UI_GFX_WIN_SINGLETON_HWND_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 // Add/remove observer to receive WM_* notifications. 35 // Add/remove observer to receive WM_* notifications.
36 void AddObserver(Observer* observer); 36 void AddObserver(Observer* observer);
37 void RemoveObserver(Observer* observer); 37 void RemoveObserver(Observer* observer);
38 38
39 // Windows callback for WM_* notifications. 39 // Windows callback for WM_* notifications.
40 virtual BOOL ProcessWindowMessage(HWND window, 40 virtual BOOL ProcessWindowMessage(HWND window,
41 UINT message, 41 UINT message,
42 WPARAM wparam, 42 WPARAM wparam,
43 LPARAM lparam, 43 LPARAM lparam,
44 LRESULT& result, 44 LRESULT& result,
45 DWORD msg_map_id) OVERRIDE; 45 DWORD msg_map_id) override;
46 46
47 private: 47 private:
48 friend struct DefaultSingletonTraits<SingletonHwnd>; 48 friend struct DefaultSingletonTraits<SingletonHwnd>;
49 49
50 SingletonHwnd(); 50 SingletonHwnd();
51 ~SingletonHwnd(); 51 ~SingletonHwnd();
52 52
53 // List of registered observers. 53 // List of registered observers.
54 ObserverList<Observer> observer_list_; 54 ObserverList<Observer> observer_list_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(SingletonHwnd); 56 DISALLOW_COPY_AND_ASSIGN(SingletonHwnd);
57 }; 57 };
58 58
59 } // namespace gfx 59 } // namespace gfx
60 60
61 #endif // UI_GFX_WIN_SINGLETON_HWND_H_ 61 #endif // UI_GFX_WIN_SINGLETON_HWND_H_
OLDNEW
« no previous file with comments | « ui/gfx/test/ui_cocoa_test_helper.h ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698