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

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

Issue 8632001: Removed TOUCH_UI (mostly constants) from chrome/browser/ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 1 month 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 CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 int dialog_flags, 66 int dialog_flags,
67 const string16& title, 67 const string16& title,
68 const string16& message); 68 const string16& message);
69 virtual ~SimpleMessageBoxViews(); 69 virtual ~SimpleMessageBoxViews();
70 70
71 // MessageLoop::Dispatcher implementation. 71 // MessageLoop::Dispatcher implementation.
72 #if defined(OS_WIN) 72 #if defined(OS_WIN)
73 // Dispatcher method. This returns true if the menu was canceled, or 73 // Dispatcher method. This returns true if the menu was canceled, or
74 // if the message is such that the menu should be closed. 74 // if the message is such that the menu should be closed.
75 virtual bool Dispatch(const MSG& msg) OVERRIDE; 75 virtual bool Dispatch(const MSG& msg) OVERRIDE;
76 #elif defined(TOUCH_UI) || defined(USE_AURA) 76 #elif defined(USE_AURA)
77 virtual base::MessagePumpDispatcher::DispatchStatus Dispatch( 77 virtual base::MessagePumpDispatcher::DispatchStatus Dispatch(
78 XEvent* xevent) OVERRIDE; 78 XEvent* xevent) OVERRIDE;
79 #else 79 #else
80 virtual bool Dispatch(GdkEvent* event) OVERRIDE; 80 virtual bool Dispatch(GdkEvent* event) OVERRIDE;
81 #endif 81 #endif
82 82
83 int dialog_flags_; 83 int dialog_flags_;
84 string16 message_box_title_; 84 string16 message_box_title_;
85 views::MessageBoxView* message_box_view_; 85 views::MessageBoxView* message_box_view_;
86 DispositionType disposition_; 86 DispositionType disposition_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(SimpleMessageBoxViews); 88 DISALLOW_COPY_AND_ASSIGN(SimpleMessageBoxViews);
89 }; 89 };
90 90
91 #endif // CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_ 91 #endif // CHROME_BROWSER_UI_VIEWS_SIMPLE_MESSAGE_BOX_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | chrome/browser/ui/views/simple_message_box_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698