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

Side by Side Diff: ui/web_dialogs/web_dialog_delegate.cc

Issue 10448066: Move the web dialogs code to src/ui/web_dialogs from src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 6 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 | « ui/web_dialogs/web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/web_dialogs/web_dialog_delegate.h"
6
7 namespace ui {
8
9 std::string WebDialogDelegate::GetDialogName() const {
10 return std::string();
11 }
12
13 void WebDialogDelegate::GetMinimumDialogSize(gfx::Size* size) const {
14 GetDialogSize(size);
15 }
16
17 bool WebDialogDelegate::HandleContextMenu(
18 const content::ContextMenuParams& params) {
19 return false;
20 }
21
22 bool WebDialogDelegate::HandleOpenURLFromTab(
23 content::WebContents* source,
24 const content::OpenURLParams& params,
25 content::WebContents** out_new_contents) {
26 return false;
27 }
28
29 bool WebDialogDelegate::HandleAddNewContents(
30 content::WebContents* source,
31 content::WebContents* new_contents,
32 WindowOpenDisposition disposition,
33 const gfx::Rect& initial_pos,
34 bool user_gesture) {
35 return false;
36 }
37
38 } // namespace ui
OLDNEW
« no previous file with comments | « ui/web_dialogs/web_dialog_delegate.h ('k') | ui/web_dialogs/web_dialog_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698