Chromium Code Reviews| Index: apps/native_app_window.h |
| diff --git a/chrome/browser/ui/extensions/native_app_window.h b/apps/native_app_window.h |
| similarity index 80% |
| rename from chrome/browser/ui/extensions/native_app_window.h |
| rename to apps/native_app_window.h |
| index 3e030f273b75141e2e4059f22006aea42269cd4f..985ec09d4b315123fd4ad97019a20903fcb58cd8 100644 |
| --- a/chrome/browser/ui/extensions/native_app_window.h |
| +++ b/apps/native_app_window.h |
| @@ -2,25 +2,22 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
| -#define CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
| +#ifndef APPS_NATIVE_APP_WINDOW_H_ |
| +#define APPS_NATIVE_APP_WINDOW_H_ |
| #include "apps/shell_window.h" |
| #include "components/web_modal/web_contents_modal_dialog_host.h" |
| #include "ui/base/base_window.h" |
| #include "ui/gfx/insets.h" |
| +namespace apps { |
| + |
| // This is an interface to a native implementation of a shell window, used for |
| // new-style packaged apps. Shell windows contain a web contents, but no tabs |
| // or URL bar. |
| class NativeAppWindow : public ui::BaseWindow, |
| public web_modal::WebContentsModalDialogHost { |
| public: |
| - // Used by apps::ShellWindow to instantiate the platform-specific |
| - // apps::ShellWindow code. |
| - static NativeAppWindow* Create(apps::ShellWindow* window, |
| - const apps::ShellWindow::CreateParams& params); |
| - |
| // Called when the draggable regions are changed. |
| virtual void UpdateDraggableRegions( |
| const std::vector<extensions::DraggableRegion>& regions) = 0; |
| @@ -53,4 +50,6 @@ class NativeAppWindow : public ui::BaseWindow, |
| virtual ~NativeAppWindow() {} |
| }; |
| -#endif // CHROME_BROWSER_UI_EXTENSIONS_NATIVE_APP_WINDOW_H_ |
| +} // namespace |
|
tapted
2013/08/01 07:18:59
nit: namespace -> namespace apps
benwells
2013/08/01 08:19:39
Done.
|
| + |
| +#endif // APPS_NATIVE_APP_WINDOW_H_ |