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

Side by Side Diff: chrome/browser/tab_contents/constrained_window.cc

Issue 164547: Mac: make save/open dialogs operate as tab-modal sheets.... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Painfully (but hopefully correctly) merged ToT. Created 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "constrained_window.h"
6
7 bool ConstrainedWindow::ParentWillDo(ConstrainedWindow::Event event) {
8 switch(event) {
9 // "Content-area" constrained windows should close on |kEventNavigate|.
10 case kEventNavigate:
11 CloseConstrainedWindow();
12 return true;
13
14 // Do nothing.
15 default:
16 break;
17 }
18 return false;
19 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/constrained_window.h ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698