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

Side by Side Diff: chrome/browser/ui/views/apps/app_window_desktop_window_tree_host_win.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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 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_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h" 8 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
9 9
10 namespace views { 10 namespace views {
11 class DesktopNativeWidgetAura; 11 class DesktopNativeWidgetAura;
12 } 12 }
13 13
14 class ChromeNativeAppWindowViewsWin; 14 class ChromeNativeAppWindowViewsWin;
15 15
16 // AppWindowDesktopWindowTreeHostWin handles updating the glass of app frames on 16 // AppWindowDesktopWindowTreeHostWin handles updating the glass of app frames on
17 // Windows. It is used for all desktop app windows on Windows, but is only 17 // Windows. It is used for all desktop app windows on Windows, but is only
18 // actively doing anything when a glass window frame is being used. 18 // actively doing anything when a glass window frame is being used.
19 class AppWindowDesktopWindowTreeHostWin 19 class AppWindowDesktopWindowTreeHostWin
20 : public views::DesktopWindowTreeHostWin { 20 : public views::DesktopWindowTreeHostWin {
21 public: 21 public:
22 AppWindowDesktopWindowTreeHostWin( 22 AppWindowDesktopWindowTreeHostWin(
23 ChromeNativeAppWindowViewsWin* app_window, 23 ChromeNativeAppWindowViewsWin* app_window,
24 views::DesktopNativeWidgetAura* desktop_native_widget_aura); 24 views::DesktopNativeWidgetAura* desktop_native_widget_aura);
25 virtual ~AppWindowDesktopWindowTreeHostWin(); 25 virtual ~AppWindowDesktopWindowTreeHostWin();
26 26
27 private: 27 private:
28 // Overridden from DesktopWindowTreeHostWin: 28 // Overridden from DesktopWindowTreeHostWin:
29 virtual bool GetClientAreaInsets(gfx::Insets* insets) const OVERRIDE; 29 virtual bool GetClientAreaInsets(gfx::Insets* insets) const override;
30 virtual void HandleFrameChanged() OVERRIDE; 30 virtual void HandleFrameChanged() override;
31 virtual void PostHandleMSG(UINT message, 31 virtual void PostHandleMSG(UINT message,
32 WPARAM w_param, 32 WPARAM w_param,
33 LPARAM l_param) OVERRIDE; 33 LPARAM l_param) override;
34 34
35 // Updates the glass frame area by calling the DwmExtendFrameIntoClientArea 35 // Updates the glass frame area by calling the DwmExtendFrameIntoClientArea
36 // Windows function. 36 // Windows function.
37 void UpdateDWMFrame(); 37 void UpdateDWMFrame();
38 38
39 ChromeNativeAppWindowViewsWin* app_window_; 39 ChromeNativeAppWindowViewsWin* app_window_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopWindowTreeHostWin); 41 DISALLOW_COPY_AND_ASSIGN(AppWindowDesktopWindowTreeHostWin);
42 }; 42 };
43 43
44 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_ H_ 44 #endif // CHROME_BROWSER_UI_VIEWS_APPS_APP_WINDOW_DESKTOP_WINDOW_TREE_HOST_WIN_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698