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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.cc

Issue 7880003: content: Move constrained window code from TabContents to TabContentsWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac regression now that shutdown timing was changed for views. Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tab_contents/tab_contents_wrapper_delegate.h" 5 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h"
6 6
7 TabContentsWrapperDelegate::~TabContentsWrapperDelegate() { 7 TabContentsWrapperDelegate::~TabContentsWrapperDelegate() {
8 } 8 }
9 9
10 // Notification when an application programmatically requests installation. 10 // Notification when an application programmatically requests installation.
11 void TabContentsWrapperDelegate::OnInstallApplication( 11 void TabContentsWrapperDelegate::OnInstallApplication(
12 TabContentsWrapper* source, 12 TabContentsWrapper* source,
13 const WebApplicationInfo& app_info) { 13 const WebApplicationInfo& app_info) {
14 } 14 }
15 15
16 void TabContentsWrapperDelegate::OnDidGetApplicationInfo( 16 void TabContentsWrapperDelegate::OnDidGetApplicationInfo(
17 TabContentsWrapper* source, int32 page_id) { 17 TabContentsWrapper* source, int32 page_id) {
18 } 18 }
19
20 void TabContentsWrapperDelegate::WillShowConstrainedWindow(
21 TabContentsWrapper* source) {
22 }
23
24 bool TabContentsWrapperDelegate::ShouldFocusConstrainedWindow() {
25 return true;
26 }
27
28 void TabContentsWrapperDelegate::SetTabContentBlocked(
29 TabContentsWrapper* wrapper, bool blocked) {
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698