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

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

Issue 1125193004: Simplify accelerated paint and remove windows CanvasSkiaPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/widget.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 7
8 #include <set> 8 #include <set>
9 #include <stack> 9 #include <stack>
10 #include <vector> 10 #include <vector>
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 void OnNativeWidgetDestroying() override; 787 void OnNativeWidgetDestroying() override;
788 void OnNativeWidgetDestroyed() override; 788 void OnNativeWidgetDestroyed() override;
789 gfx::Size GetMinimumSize() const override; 789 gfx::Size GetMinimumSize() const override;
790 gfx::Size GetMaximumSize() const override; 790 gfx::Size GetMaximumSize() const override;
791 void OnNativeWidgetMove() override; 791 void OnNativeWidgetMove() override;
792 void OnNativeWidgetSizeChanged(const gfx::Size& new_size) override; 792 void OnNativeWidgetSizeChanged(const gfx::Size& new_size) override;
793 void OnNativeWidgetWindowShowStateChanged() override; 793 void OnNativeWidgetWindowShowStateChanged() override;
794 void OnNativeWidgetBeginUserBoundsChange() override; 794 void OnNativeWidgetBeginUserBoundsChange() override;
795 void OnNativeWidgetEndUserBoundsChange() override; 795 void OnNativeWidgetEndUserBoundsChange() override;
796 bool HasFocusManager() const override; 796 bool HasFocusManager() const override;
797 bool OnNativeWidgetPaintAccelerated(const gfx::Rect& dirty_region) override;
798 void OnNativeWidgetPaint(const ui::PaintContext& context) override; 797 void OnNativeWidgetPaint(const ui::PaintContext& context) override;
799 int GetNonClientComponent(const gfx::Point& point) override; 798 int GetNonClientComponent(const gfx::Point& point) override;
800 void OnKeyEvent(ui::KeyEvent* event) override; 799 void OnKeyEvent(ui::KeyEvent* event) override;
801 void OnMouseEvent(ui::MouseEvent* event) override; 800 void OnMouseEvent(ui::MouseEvent* event) override;
802 void OnMouseCaptureLost() override; 801 void OnMouseCaptureLost() override;
803 void OnScrollEvent(ui::ScrollEvent* event) override; 802 void OnScrollEvent(ui::ScrollEvent* event) override;
804 void OnGestureEvent(ui::GestureEvent* event) override; 803 void OnGestureEvent(ui::GestureEvent* event) override;
805 bool ExecuteCommand(int command_id) override; 804 bool ExecuteCommand(int command_id) override;
806 InputMethod* GetInputMethodDirect() override; 805 InputMethod* GetInputMethodDirect() override;
807 const std::vector<ui::Layer*>& GetRootLayers() override; 806 const std::vector<ui::Layer*>& GetRootLayers() override;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 bool movement_disabled_; 978 bool movement_disabled_;
980 979
981 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; 980 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_;
982 981
983 DISALLOW_COPY_AND_ASSIGN(Widget); 982 DISALLOW_COPY_AND_ASSIGN(Widget);
984 }; 983 };
985 984
986 } // namespace views 985 } // namespace views
987 986
988 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 987 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_delegate.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698