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

Side by Side Diff: chrome/browser/chromeos/sim_dialog_delegate.cc

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 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 (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/chromeos/sim_dialog_delegate.h" 5 #include "chrome/browser/chromeos/sim_dialog_delegate.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "chrome/browser/chromeos/login/user_manager.h" 8 #include "chrome/browser/chromeos/login/user_manager.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void SimDialogDelegate::OnCloseContents(WebContents* source, 118 void SimDialogDelegate::OnCloseContents(WebContents* source,
119 bool* out_close_dialog) { 119 bool* out_close_dialog) {
120 if (out_close_dialog) 120 if (out_close_dialog)
121 *out_close_dialog = true; 121 *out_close_dialog = true;
122 } 122 }
123 123
124 bool SimDialogDelegate::ShouldShowDialogTitle() const { 124 bool SimDialogDelegate::ShouldShowDialogTitle() const {
125 return false; 125 return false;
126 } 126 }
127 127
128 bool SimDialogDelegate::HandleContextMenu(const ContextMenuParams& params) { 128 bool SimDialogDelegate::HandleContextMenu(
129 const content::ContextMenuParams& params) {
129 // Disable context menu. 130 // Disable context menu.
130 return true; 131 return true;
131 } 132 }
132 133
133 } // namespace chromeos 134 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698