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

Side by Side Diff: views/window/dialog_client_view.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/window/client_view.h ('k') | views/window/dialog_delegate.h » ('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) 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_WINDOW_DIALOG_CLIENT_VIEW_H_ 5 #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
6 #define VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 6 #define VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/font.h" 9 #include "ui/gfx/font.h"
10 #include "views/focus/focus_manager.h" 10 #include "views/focus/focus_manager.h"
(...skipping 14 matching lines...) Expand all
25 // 25 //
26 // This ClientView subclass provides the content of a typical dialog box, 26 // This ClientView subclass provides the content of a typical dialog box,
27 // including a strip of buttons at the bottom right of the window, default 27 // including a strip of buttons at the bottom right of the window, default
28 // accelerator handlers for accept and cancel, and the ability for the 28 // accelerator handlers for accept and cancel, and the ability for the
29 // embedded contents view to provide extra UI to be shown in the row of 29 // embedded contents view to provide extra UI to be shown in the row of
30 // buttons. 30 // buttons.
31 // 31 //
32 // DialogClientView also provides the ability to set an arbitrary view that is 32 // DialogClientView also provides the ability to set an arbitrary view that is
33 // positioned beneath the buttons. 33 // positioned beneath the buttons.
34 // 34 //
35 class VIEWS_API DialogClientView : public ClientView, 35 class VIEWS_EXPORT DialogClientView : public ClientView,
36 public ButtonListener, 36 public ButtonListener,
37 public FocusChangeListener { 37 public FocusChangeListener {
38 public: 38 public:
39 DialogClientView(Widget* widget, View* contents_view); 39 DialogClientView(Widget* widget, View* contents_view);
40 virtual ~DialogClientView(); 40 virtual ~DialogClientView();
41 41
42 // Adds the dialog buttons required by the supplied DialogDelegate to the 42 // Adds the dialog buttons required by the supplied DialogDelegate to the
43 // view. 43 // view.
44 void ShowDialogButtons(); 44 void ShowDialogButtons();
45 45
46 // Updates the enabled state and label of the buttons required by the 46 // Updates the enabled state and label of the buttons required by the
47 // supplied DialogDelegate 47 // supplied DialogDelegate
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 // Static resource initialization 160 // Static resource initialization
161 static gfx::Font* dialog_button_font_; 161 static gfx::Font* dialog_button_font_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(DialogClientView); 163 DISALLOW_COPY_AND_ASSIGN(DialogClientView);
164 }; 164 };
165 165
166 } // namespace views 166 } // namespace views
167 167
168 #endif // #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ 168 #endif // #ifndef VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « views/window/client_view.h ('k') | views/window/dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698