Commit e637fd89 authored by tfarina@chromium.org's avatar tfarina@chromium.org

aura_shell: Remove unused native_widget_types.h include from example_factory.h

R=ben@chromium.org

Review URL: http://codereview.chromium.org/8587013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110525 0039d316-1c4b-4281-b951-d872f2087c98
parent 599d5180
......@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_AURA_SHELL_SHELL_FACTORY_H_
#define UI_AURA_SHELL_SHELL_FACTORY_H_
#ifndef UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_
#define UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_
#pragma once
#include "ui/gfx/native_widget_types.h"
namespace views {
class View;
}
......@@ -17,7 +15,7 @@ namespace examples {
void CreatePointyBubble(views::View* anchor_view);
void CreateLock();
void CreateLockScreen();
// Creates a window showing samples of commonly used widgets.
void CreateWidgetsWindow();
......@@ -25,4 +23,4 @@ void CreateWidgetsWindow();
} // namespace examples
} // namespace aura_shell
#endif // UI_AURA_SHELL_SHELL_FACTORY_H_
#endif // UI_AURA_SHELL_EXAMPLES_EXAMPLE_FACTORY_H_
......@@ -48,7 +48,7 @@ class LockView : public views::WidgetDelegateView {
DISALLOW_COPY_AND_ASSIGN(LockView);
};
void CreateLock() {
void CreateLockScreen() {
LockView* lock_view = new LockView;
views::Widget* widget = new views::Widget;
views::Widget::InitParams params(views::Widget::InitParams::TYPE_CONTROL);
......
......@@ -258,7 +258,7 @@ void WindowTypeLauncher::ButtonPressed(views::Button* sender,
} else if (sender == bubble_button_) {
CreatePointyBubble(sender);
} else if (sender == lock_button_) {
CreateLock();
CreateLockScreen();
} else if (sender == widgets_button_) {
CreateWidgetsWindow();
} else if (sender == modal_button_) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment