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

Side by Side Diff: chrome/browser/ui/views/first_run_dialog.h

Issue 135563004: Nukes MessageLoop::Dispatcher (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_
6 #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_
7 7
8 #include "base/message_loop/message_pump_dispatcher.h" 8 #include "base/message_loop/message_pump_dispatcher.h"
9 #include "ui/views/controls/link_listener.h" 9 #include "ui/views/controls/link_listener.h"
10 #include "ui/views/window/dialog_delegate.h" 10 #include "ui/views/window/dialog_delegate.h"
(...skipping 19 matching lines...) Expand all
30 30
31 // views::DialogDelegate: 31 // views::DialogDelegate:
32 virtual views::View* CreateExtraView() OVERRIDE; 32 virtual views::View* CreateExtraView() OVERRIDE;
33 virtual void OnClosed() OVERRIDE; 33 virtual void OnClosed() OVERRIDE;
34 virtual bool Accept() OVERRIDE; 34 virtual bool Accept() OVERRIDE;
35 virtual int GetDialogButtons() const OVERRIDE; 35 virtual int GetDialogButtons() const OVERRIDE;
36 36
37 // views::LinkListener: 37 // views::LinkListener:
38 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; 38 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
39 39
40 // Overridden from MessageLoop::Dispatcher: 40 // Overridden from MessagePumpDispatcher:
41 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE; 41 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
42 42
43 Profile* profile_; 43 Profile* profile_;
44 views::Checkbox* make_default_; 44 views::Checkbox* make_default_;
45 views::Checkbox* report_crashes_; 45 views::Checkbox* report_crashes_;
46 46
47 // Set to false as soon as the user clicks a dialog button; this tells the 47 // Set to false as soon as the user clicks a dialog button; this tells the
48 // dispatcher we're done. 48 // dispatcher we're done.
49 bool should_show_dialog_; 49 bool should_show_dialog_;
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_ 52 #endif // CHROME_BROWSER_UI_VIEWS_FIRST_RUN_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698