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

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

Issue 10978016: Remove two functions on WebContentsDelegate which didn't belong in content. They were only called f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits and fixed prerender browser tests Created 8 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
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 "ui/web_dialogs/web_dialog_web_contents_delegate.h" 5 #include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
9 9
10 using content::BrowserContext; 10 using content::BrowserContext;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 initial_pos, user_gesture); 48 initial_pos, user_gesture);
49 } 49 }
50 50
51 bool WebDialogWebContentsDelegate::IsPopupOrPanel( 51 bool WebDialogWebContentsDelegate::IsPopupOrPanel(
52 const WebContents* source) const { 52 const WebContents* source) const {
53 // This needs to return true so that we are allowed to be resized by our 53 // This needs to return true so that we are allowed to be resized by our
54 // contents. 54 // contents.
55 return true; 55 return true;
56 } 56 }
57 57
58 bool WebDialogWebContentsDelegate::ShouldAddNavigationToHistory(
59 const history::HistoryAddPageArgs& add_page_args,
60 content::NavigationType navigation_type) {
61 return false;
62 }
63
64 } // namespace ui 58 } // namespace ui
OLDNEW
« chrome/browser/instant/instant_loader.cc ('K') | « ui/web_dialogs/web_dialog_web_contents_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698