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

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

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
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_H_ 5 #ifndef VIEWS_WIDGET_WIDGET_H_
6 #define VIEWS_WIDGET_WIDGET_H_ 6 #define VIEWS_WIDGET_WIDGET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <stack> 9 #include <stack>
10 10
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 } 498 }
499 static ui::Compositor* (*compositor_factory())() { 499 static ui::Compositor* (*compositor_factory())() {
500 return compositor_factory_; 500 return compositor_factory_;
501 } 501 }
502 502
503 const ui::Compositor* GetCompositor() const; 503 const ui::Compositor* GetCompositor() const;
504 ui::Compositor* GetCompositor(); 504 ui::Compositor* GetCompositor();
505 505
506 // Invokes method of same name on the NativeWidget. 506 // Invokes method of same name on the NativeWidget.
507 void MarkLayerDirty(); 507 void MarkLayerDirty();
508 void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, View** ancestor); 508 void CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
509 ui::Layer** layer_parent);
509 510
510 // Notifies assistive technology that an accessibility event has 511 // Notifies assistive technology that an accessibility event has
511 // occurred on |view|, such as when the view is focused or when its 512 // occurred on |view|, such as when the view is focused or when its
512 // value changes. Pass true for |send_native_event| except for rare 513 // value changes. Pass true for |send_native_event| except for rare
513 // cases where the view is a native control that's already sending a 514 // cases where the view is a native control that's already sending a
514 // native accessibility event and the duplicate event would cause 515 // native accessibility event and the duplicate event would cause
515 // problems. 516 // problems.
516 void NotifyAccessibilityEvent( 517 void NotifyAccessibilityEvent(
517 View* view, 518 View* view,
518 ui::AccessibilityTypes::Event event_type, 519 ui::AccessibilityTypes::Event event_type,
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 732
732 // Tracks whether native widget has been initialized. 733 // Tracks whether native widget has been initialized.
733 bool native_widget_initialized_; 734 bool native_widget_initialized_;
734 735
735 DISALLOW_COPY_AND_ASSIGN(Widget); 736 DISALLOW_COPY_AND_ASSIGN(Widget);
736 }; 737 };
737 738
738 } // namespace views 739 } // namespace views
739 740
740 #endif // VIEWS_WIDGET_WIDGET_H_ 741 #endif // VIEWS_WIDGET_WIDGET_H_
OLDNEW
« views/view.cc ('K') | « views/widget/root_view.cc ('k') | views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698