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

Side by Side Diff: views/widget/native_widget_win.h

Issue 6507028: Remove usages of RootView from View by moving relevant RootView API methods t... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « views/widget/native_widget.h ('k') | views/widget/native_widget_win.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 VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual bool IsVisible() const; 77 virtual bool IsVisible() const;
78 virtual bool IsActive() const; 78 virtual bool IsActive() const;
79 virtual void SetMouseCapture(); 79 virtual void SetMouseCapture();
80 virtual void ReleaseMouseCapture(); 80 virtual void ReleaseMouseCapture();
81 virtual bool HasMouseCapture() const; 81 virtual bool HasMouseCapture() const;
82 virtual bool ShouldReleaseCaptureOnMouseReleased() const; 82 virtual bool ShouldReleaseCaptureOnMouseReleased() const;
83 virtual void Invalidate(); 83 virtual void Invalidate();
84 virtual void InvalidateRect(const gfx::Rect& invalid_rect); 84 virtual void InvalidateRect(const gfx::Rect& invalid_rect);
85 virtual void Paint(); 85 virtual void Paint();
86 virtual void FocusNativeView(gfx::NativeView native_view); 86 virtual void FocusNativeView(gfx::NativeView native_view);
87 virtual void RunShellDrag(const ui::OSExchangeData& data, int operation);
87 virtual WidgetImpl* GetWidgetImpl(); 88 virtual WidgetImpl* GetWidgetImpl();
88 virtual const WidgetImpl* GetWidgetImpl() const; 89 virtual const WidgetImpl* GetWidgetImpl() const;
89 90
90 // Overridden from MessageLoop::Observer: 91 // Overridden from MessageLoop::Observer:
91 void WillProcessMessage(const MSG& msg); 92 void WillProcessMessage(const MSG& msg);
92 virtual void DidProcessMessage(const MSG& msg); 93 virtual void DidProcessMessage(const MSG& msg);
93 94
94 // Message handlers 95 // Message handlers
95 BEGIN_MSG_MAP_EX(NativeWidgetWin) 96 BEGIN_MSG_MAP_EX(NativeWidgetWin)
96 // Range handlers must go first! 97 // Range handlers must go first!
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 ViewProps props_; 266 ViewProps props_;
266 267
267 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 268 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
268 }; 269 };
269 270
270 } // namespace internal 271 } // namespace internal
271 } // namespace views 272 } // namespace views
272 273
273 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 274 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
274 275
OLDNEW
« no previous file with comments | « views/widget/native_widget.h ('k') | views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698