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

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

Issue 11044020: Make Web Intents picker in Views conform to latest mocks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Include changes from CL 11077006 Created 8 years, 2 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
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_DELEGATE_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/base/accessibility/accessibility_types.h" 10 #include "ui/base/accessibility/accessibility_types.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void OnWindowBeginUserBoundsChange() {} 120 virtual void OnWindowBeginUserBoundsChange() {}
121 virtual void OnWindowEndUserBoundsChange() {} 121 virtual void OnWindowEndUserBoundsChange() {}
122 122
123 // Returns the Widget associated with this delegate. 123 // Returns the Widget associated with this delegate.
124 virtual Widget* GetWidget() = 0; 124 virtual Widget* GetWidget() = 0;
125 virtual const Widget* GetWidget() const = 0; 125 virtual const Widget* GetWidget() const = 0;
126 126
127 // Returns the View that is contained within this Widget. 127 // Returns the View that is contained within this Widget.
128 virtual View* GetContentsView(); 128 virtual View* GetContentsView();
129 129
130 // Returns the View for the header of the Widget.
131 virtual View* GetHeaderView();
132
130 // Called by the Widget to create the Client View used to host the contents 133 // Called by the Widget to create the Client View used to host the contents
131 // of the widget. 134 // of the widget.
132 virtual ClientView* CreateClientView(Widget* widget); 135 virtual ClientView* CreateClientView(Widget* widget);
133 136
134 // Called by the Widget to create the NonClient Frame View for this widget. 137 // Called by the Widget to create the NonClient Frame View for this widget.
135 // Return NULL to use the default one. 138 // Return NULL to use the default one.
136 virtual NonClientFrameView* CreateNonClientFrameView(Widget* widget); 139 virtual NonClientFrameView* CreateNonClientFrameView(Widget* widget);
137 140
138 // Returns true if the window can be notified with the work area change. 141 // Returns true if the window can be notified with the work area change.
139 // Otherwise, the work area change for the top window will be processed by 142 // Otherwise, the work area change for the top window will be processed by
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 virtual Widget* GetWidget() OVERRIDE; 177 virtual Widget* GetWidget() OVERRIDE;
175 virtual const Widget* GetWidget() const OVERRIDE; 178 virtual const Widget* GetWidget() const OVERRIDE;
176 179
177 private: 180 private:
178 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView); 181 DISALLOW_COPY_AND_ASSIGN(WidgetDelegateView);
179 }; 182 };
180 183
181 } // namespace views 184 } // namespace views
182 185
183 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ 186 #endif // UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698