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

Side by Side Diff: views/widget/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/widget_impl.cc ('k') | views/widget/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')
Property Changes:
Added: svn:eol-style
+ LF
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_WIDGET_WIN_H_ 5 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_
6 #define VIEWS_WIDGET_WIDGET_WIN_H_ 6 #define VIEWS_WIDGET_WIDGET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual Window* GetWindow(); 240 virtual Window* GetWindow();
241 virtual const Window* GetWindow() const; 241 virtual const Window* GetWindow() const;
242 virtual void SetNativeWindowProperty(const char* name, void* value); 242 virtual void SetNativeWindowProperty(const char* name, void* value);
243 virtual void* GetNativeWindowProperty(const char* name); 243 virtual void* GetNativeWindowProperty(const char* name);
244 virtual ThemeProvider* GetThemeProvider() const; 244 virtual ThemeProvider* GetThemeProvider() const;
245 virtual ThemeProvider* GetDefaultThemeProvider() const; 245 virtual ThemeProvider* GetDefaultThemeProvider() const;
246 virtual FocusManager* GetFocusManager(); 246 virtual FocusManager* GetFocusManager();
247 virtual void ViewHierarchyChanged(bool is_add, View *parent, 247 virtual void ViewHierarchyChanged(bool is_add, View *parent,
248 View *child); 248 View *child);
249 virtual bool ContainsNativeView(gfx::NativeView native_view); 249 virtual bool ContainsNativeView(gfx::NativeView native_view);
250 virtual void StartDragForViewFromMouseEvent(View* view,
251 const OSExchangeData& data,
252 int operation);
253 virtual View* GetDraggedView();
250 254
251 // Overridden from MessageLoop::Observer: 255 // Overridden from MessageLoop::Observer:
252 void WillProcessMessage(const MSG& msg); 256 void WillProcessMessage(const MSG& msg);
253 virtual void DidProcessMessage(const MSG& msg); 257 virtual void DidProcessMessage(const MSG& msg);
254 258
255 // Overridden from FocusTraversable: 259 // Overridden from FocusTraversable:
256 virtual FocusSearch* GetFocusSearch(); 260 virtual FocusSearch* GetFocusSearch();
257 virtual FocusTraversable* GetFocusTraversableParent(); 261 virtual FocusTraversable* GetFocusTraversableParent();
258 virtual View* GetFocusTraversableParentView(); 262 virtual View* GetFocusTraversableParentView();
259 263
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 static const int kMaxAccessibilityViewEvents = 20; 599 static const int kMaxAccessibilityViewEvents = 20;
596 600
597 // A vector used to access views for which we have sent notifications to 601 // A vector used to access views for which we have sent notifications to
598 // accessibility clients. It is used as a circular queue. 602 // accessibility clients. It is used as a circular queue.
599 std::vector<View*> accessibility_view_events_; 603 std::vector<View*> accessibility_view_events_;
600 604
601 // The current position of the view events vector. When incrementing, 605 // The current position of the view events vector. When incrementing,
602 // we always mod this value with the max view events above . 606 // we always mod this value with the max view events above .
603 int accessibility_view_events_index_; 607 int accessibility_view_events_index_;
604 608
609 // Valid for the lifetime of StartDragForViewFromMouseEvent, indicates the
610 // view the drag started from.
611 View* dragged_view_;
612
605 ViewProps props_; 613 ViewProps props_;
606 614
607 DISALLOW_COPY_AND_ASSIGN(WidgetWin); 615 DISALLOW_COPY_AND_ASSIGN(WidgetWin);
608 }; 616 };
609 617
610 } // namespace views 618 } // namespace views
611 619
612 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ 620 #endif // VIEWS_WIDGET_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « views/widget/widget_impl.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698