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

Side by Side Diff: chrome/browser/ui/panels/native_panel_stack_window.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9
9 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
10 #include "ui/gfx/image/image.h" 11 #include "ui/gfx/image/image.h"
11 12
12 class Panel; 13 class Panel;
13 namespace gfx { 14 namespace gfx {
14 class Rect; 15 class Rect;
15 class Vector2d; 16 class Vector2d;
16 } 17 }
17 18
18 class NativePanelStackWindowDelegate { 19 class NativePanelStackWindowDelegate {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 89
89 // Draws or clears the attention via system. The system might choose to 90 // Draws or clears the attention via system. The system might choose to
90 // flash the taskbar icon for attention. 91 // flash the taskbar icon for attention.
91 virtual void DrawSystemAttention(bool draw_attention) = 0; 92 virtual void DrawSystemAttention(bool draw_attention) = 0;
92 93
93 // Called when the panel is activated. 94 // Called when the panel is activated.
94 virtual void OnPanelActivated(Panel* panel) = 0; 95 virtual void OnPanelActivated(Panel* panel) = 0;
95 }; 96 };
96 97
97 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ 98 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/detached_panel_browsertest.cc ('k') | chrome/browser/ui/panels/panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698