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

Side by Side Diff: chrome/browser/blocked_content_container.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/blocked_content_container.h" 5 #include "chrome/browser/blocked_content_container.h"
6 6
7 #include "chrome/browser/tab_contents/tab_contents.h" 7 #include "chrome/browser/tab_contents/tab_contents.h"
8 #include "gfx/rect.h" 8 #include "ui/gfx/rect.h"
9 9
10 // static 10 // static
11 const size_t BlockedContentContainer::kImpossibleNumberOfPopups = 30; 11 const size_t BlockedContentContainer::kImpossibleNumberOfPopups = 30;
12 12
13 struct BlockedContentContainer::BlockedContent { 13 struct BlockedContentContainer::BlockedContent {
14 BlockedContent(TabContents* tab_contents, 14 BlockedContent(TabContents* tab_contents,
15 WindowOpenDisposition disposition, 15 WindowOpenDisposition disposition,
16 const gfx::Rect& bounds, 16 const gfx::Rect& bounds,
17 bool user_gesture) 17 bool user_gesture)
18 : tab_contents(tab_contents), 18 : tab_contents(tab_contents),
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Assume everything added is a popup. This may turn out to be wrong, but 147 // Assume everything added is a popup. This may turn out to be wrong, but
148 // callers don't cache this information so it should be fine if the value ends 148 // callers don't cache this information so it should be fine if the value ends
149 // up changing. 149 // up changing.
150 return true; 150 return true;
151 } 151 }
152 152
153 TabContents* BlockedContentContainer::GetConstrainingContents( 153 TabContents* BlockedContentContainer::GetConstrainingContents(
154 TabContents* source) { 154 TabContents* source) {
155 return owner_; 155 return owner_;
156 } 156 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/ui_controls_linux.cc ('k') | chrome/browser/bookmarks/bookmark_context_menu_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698