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

Side by Side Diff: chrome/views/root_view.h

Issue 27317: Support DWM switching.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
« no previous file with comments | « chrome/views/non_client_view.cc ('k') | chrome/views/root_view.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_ROOT_VIEW_H__ 5 #ifndef CHROME_VIEWS_ROOT_VIEW_H__
6 #define CHROME_VIEWS_ROOT_VIEW_H__ 6 #define CHROME_VIEWS_ROOT_VIEW_H__
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "chrome/views/focus_manager.h" 9 #include "chrome/views/focus_manager.h"
10 #include "chrome/views/view.h" 10 #include "chrome/views/view.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 #if defined(OS_WIN) 76 #if defined(OS_WIN)
77 // Returns the region scheduled to paint clipped to the RootViews bounds. 77 // Returns the region scheduled to paint clipped to the RootViews bounds.
78 RECT GetScheduledPaintRectConstrainedToSize(); 78 RECT GetScheduledPaintRectConstrainedToSize();
79 #endif 79 #endif
80 80
81 // Tree functions 81 // Tree functions
82 82
83 // Get the Widget that hosts this View. 83 // Get the Widget that hosts this View.
84 virtual Widget* GetWidget() const; 84 virtual Widget* GetWidget() const;
85 85
86 // Public API for broadcasting theme change notifications to this View
87 // hierarchy.
88 virtual void ThemeChanged();
89
86 // The following event methods are overridden to propagate event to the 90 // The following event methods are overridden to propagate event to the
87 // control tree 91 // control tree
88 virtual bool OnMousePressed(const MouseEvent& e); 92 virtual bool OnMousePressed(const MouseEvent& e);
89 virtual bool OnMouseDragged(const MouseEvent& e); 93 virtual bool OnMouseDragged(const MouseEvent& e);
90 virtual void OnMouseReleased(const MouseEvent& e, bool canceled); 94 virtual void OnMouseReleased(const MouseEvent& e, bool canceled);
91 virtual void OnMouseMoved(const MouseEvent& e); 95 virtual void OnMouseMoved(const MouseEvent& e);
92 virtual void SetMouseHandler(View* new_mouse_handler); 96 virtual void SetMouseHandler(View* new_mouse_handler);
93 97
94 // Invoked when the Widget has been fully initialized. 98 // Invoked when the Widget has been fully initialized.
95 // At the time the constructor is invoked the Widget may not be completely 99 // At the time the constructor is invoked the Widget may not be completely
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 #ifndef NDEBUG 350 #ifndef NDEBUG
347 // True if we're currently processing paint. 351 // True if we're currently processing paint.
348 bool is_processing_paint_; 352 bool is_processing_paint_;
349 #endif 353 #endif
350 }; 354 };
351 355
352 } // namespace views 356 } // namespace views
353 357
354 #endif // CHROME_VIEWS_ROOT_VIEW_H__ 358 #endif // CHROME_VIEWS_ROOT_VIEW_H__
355 359
OLDNEW
« no previous file with comments | « chrome/views/non_client_view.cc ('k') | chrome/views/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698