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

Side by Side Diff: chrome/browser/ui/views/panels/taskbar_window_thumbnailer_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 (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 CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/base/win/hwnd_subclass.h" 10 #include "ui/base/win/hwnd_subclass.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Provide the snapshot to the new window. If the snapshot is captured for the 45 // Provide the snapshot to the new window. If the snapshot is captured for the
46 // old window, it will also be used for the new window. 46 // old window, it will also be used for the new window.
47 void ReplaceWindow(HWND new_hwnd); 47 void ReplaceWindow(HWND new_hwnd);
48 48
49 private: 49 private:
50 // Overridden from ui::HWNDMessageFilter: 50 // Overridden from ui::HWNDMessageFilter:
51 virtual bool FilterMessage(HWND hwnd, 51 virtual bool FilterMessage(HWND hwnd,
52 UINT message, 52 UINT message,
53 WPARAM w_param, 53 WPARAM w_param,
54 LPARAM l_param, 54 LPARAM l_param,
55 LRESULT* l_result) OVERRIDE; 55 LRESULT* l_result) override;
56 56
57 // Message handlers. 57 // Message handlers.
58 bool OnDwmSendIconicThumbnail(int width, int height, LRESULT* l_result); 58 bool OnDwmSendIconicThumbnail(int width, int height, LRESULT* l_result);
59 bool OnDwmSendIconicLivePreviewBitmap(LRESULT* l_result); 59 bool OnDwmSendIconicLivePreviewBitmap(LRESULT* l_result);
60 60
61 // Captures and returns the screenshot of the window. The caller is 61 // Captures and returns the screenshot of the window. The caller is
62 // responsible to release the returned SkBitmap instance. 62 // responsible to release the returned SkBitmap instance.
63 SkBitmap* CaptureWindowImage() const; 63 SkBitmap* CaptureWindowImage() const;
64 64
65 HWND hwnd_; 65 HWND hwnd_;
66 TaskbarWindowThumbnailerDelegateWin* delegate_; // Weak, owns us. 66 TaskbarWindowThumbnailerDelegateWin* delegate_; // Weak, owns us.
67 scoped_ptr<SkBitmap> capture_bitmap_; 67 scoped_ptr<SkBitmap> capture_bitmap_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(TaskbarWindowThumbnailerWin); 69 DISALLOW_COPY_AND_ASSIGN(TaskbarWindowThumbnailerWin);
70 }; 70 };
71 71
72 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_ 72 #endif // CHROME_BROWSER_UI_VIEWS_PANELS_TASKBAR_WINDOW_THUMBNAILER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/panels/panel_view.cc ('k') | chrome/browser/ui/views/panels/x11_panel_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698