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

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

Issue 10143001: Work in progress: Adds MessagePumpDispatcher::ShouldExit(). This is used to handle the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « chrome/browser/ui/views/simple_message_box_views.h ('k') | ui/aura/dispatcher_linux.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) 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 #include "chrome/browser/ui/views/simple_message_box_views.h" 5 #include "chrome/browser/ui/views/simple_message_box_views.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/simple_message_box.h" 9 #include "chrome/browser/simple_message_box.h"
10 #include "chrome/browser/ui/dialog_style.h" 10 #include "chrome/browser/ui/dialog_style.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 bool SimpleMessageBoxViews::Dispatch(const base::NativeEvent& event) { 146 bool SimpleMessageBoxViews::Dispatch(const base::NativeEvent& event) {
147 #if defined(OS_WIN) 147 #if defined(OS_WIN)
148 TranslateMessage(&event); 148 TranslateMessage(&event);
149 DispatchMessage(&event); 149 DispatchMessage(&event);
150 #elif defined(USE_AURA) 150 #elif defined(USE_AURA)
151 aura::Env::GetInstance()->GetDispatcher()->Dispatch(event); 151 aura::Env::GetInstance()->GetDispatcher()->Dispatch(event);
152 #endif 152 #endif
153 return disposition_ == DISPOSITION_UNKNOWN; 153 return disposition_ == DISPOSITION_UNKNOWN;
154 } 154 }
155
156 bool SimpleMessageBoxViews::ShouldExit() {
157 return false;
158 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/simple_message_box_views.h ('k') | ui/aura/dispatcher_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698