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

Unified Diff: views/widget/widget_win.h

Issue 6881107: Rework the way Widget::Init works: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: views/widget/widget_win.h
===================================================================
--- views/widget/widget_win.h (revision 82649)
+++ views/widget/widget_win.h (working copy)
@@ -114,8 +114,6 @@
void ClearAccessibilityViewEvent(View* view);
// Overridden from Widget:
- virtual void Init(gfx::NativeView parent, const gfx::Rect& bounds) OVERRIDE;
- virtual void InitWithWidget(Widget* parent, const gfx::Rect& bounds) OVERRIDE;
virtual gfx::NativeView GetNativeView() const OVERRIDE;
virtual bool GetAccelerator(int cmd_id,
ui::Accelerator* accelerator) OVERRIDE;
@@ -193,7 +191,7 @@
}
// Overridden from NativeWidget:
- virtual void SetCreateParams(const Widget::CreateParams& params) OVERRIDE;
+ virtual void InitNativeWidget(const Widget::CreateParams& params) OVERRIDE;
virtual Widget* GetWidget() OVERRIDE;
virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
virtual void* GetNativeWindowProperty(const char* name) OVERRIDE;
@@ -419,6 +417,8 @@
// first ancestor that is a Window.
static Window* GetWindowImpl(HWND hwnd);
+ void SetCreateParams(const Widget::CreateParams& params);
+
// Returns the RootView that contains the focused view, or NULL if there is no
// focused view.
RootView* GetFocusedViewRootView();

Powered by Google App Engine
This is Rietveld 408576698