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

Unified Diff: ui/views/widget/native_widget_helper_aura.h

Issue 10083057: Revert 132856 - Aura/ash split: Remove hacks and get chrome linking without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_helper_aura.h
===================================================================
--- ui/views/widget/native_widget_helper_aura.h (revision 132862)
+++ ui/views/widget/native_widget_helper_aura.h (working copy)
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_HELPER_AURA_H_
-#define UI_VIEWS_WIDGET_NATIVE_WIDGET_HELPER_AURA_H_
-#pragma once
-
-#include "ui/views/views_export.h"
-#include "ui/views/widget/widget.h"
-
-namespace views {
-
-// A special delegate that encapsulates all logic for use of NativeWidgetAura
-// on the desktop.
-class VIEWS_EXPORT NativeWidgetHelperAura {
- public:
- virtual ~NativeWidgetHelperAura() {}
-
- // Called at the start of InitNativeWidget; determines whether we should
- // set up a root_window_ for this widget.
- virtual void PreInitialize(const Widget::InitParams& params) = 0;
-
- // Passes through a message to show the RootWindow, if it exists.
- virtual void ShowRootWindow() = 0;
-
- // If we own a RootWindow, return it. Otherwise NULL.
- virtual aura::RootWindow* GetRootWindow() = 0;
-
- // If this NativeWidgetAura has its own RootWindow, sets the position at the
- // |root_window_|, and returns modified bounds to set the origin to
- // zero. Otherwise, pass through in_bounds.
- virtual gfx::Rect ModifyAndSetBounds(gfx::Rect bounds) = 0;
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_HELPER_AURA_H_
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698