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

Side by Side Diff: ui/aura_shell/examples/example_factory.h

Issue 8227003: Views Bubble API adjustments and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add close_on_esc setting and fade-in functionality. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/examples/bubble.cc ('k') | ui/aura_shell/examples/window_type_launcher.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AURA_SHELL_SHELL_FACTORY_H_ 5 #ifndef UI_AURA_SHELL_SHELL_FACTORY_H_
6 #define UI_AURA_SHELL_SHELL_FACTORY_H_ 6 #define UI_AURA_SHELL_SHELL_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Point; 12 class Point;
13 } 13 }
14 14
15 namespace views {
16 class Widget;
17 }
18
15 namespace aura_shell { 19 namespace aura_shell {
16 namespace examples { 20 namespace examples {
17 21
18 void CreatePointyBubble(gfx::NativeWindow parent, const gfx::Point& origin); 22 void CreatePointyBubble(views::Widget* parent, const gfx::Point& origin);
19 23
20 void CreateLock(); 24 void CreateLock();
21 25
22 // Creates a window showing samples of commonly used widgets. 26 // Creates a window showing samples of commonly used widgets.
23 void CreateWidgetsWindow(); 27 void CreateWidgetsWindow();
24 28
25 } // namespace examples 29 } // namespace examples
26 } // namespace aura_shell 30 } // namespace aura_shell
27 31
28 32
29 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_ 33 #endif // UI_AURA_SHELL_SHELL_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/examples/bubble.cc ('k') | ui/aura_shell/examples/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698