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

Side by Side Diff: chrome/browser/ui/blocked_content/blocked_content_tab_helper.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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 #ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_
7 7
8 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 8 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
9 #include "chrome/browser/ui/find_bar/find_notification_details.h" 9 #include "chrome/browser/ui/find_bar/find_notification_details.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
11 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
12 #include "content/public/browser/web_contents_user_data.h" 12 #include "content/public/browser/web_contents_user_data.h"
13 #include "webkit/glue/window_open_disposition.h" 13 #include "ui/base/window_open_disposition.h"
14 14
15 class BlockedContentContainer; 15 class BlockedContentContainer;
16 class BlockedContentTabHelperDelegate; 16 class BlockedContentTabHelperDelegate;
17 17
18 // Per-tab class to manage blocked popups. 18 // Per-tab class to manage blocked popups.
19 class BlockedContentTabHelper 19 class BlockedContentTabHelper
20 : public content::WebContentsObserver, 20 : public content::WebContentsObserver,
21 public content::WebContentsUserData<BlockedContentTabHelper> { 21 public content::WebContentsUserData<BlockedContentTabHelper> {
22 public: 22 public:
23 virtual ~BlockedContentTabHelper(); 23 virtual ~BlockedContentTabHelper();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool all_contents_blocked_; 78 bool all_contents_blocked_;
79 79
80 // Delegate for notifying our owner (usually Browser) about stuff. Not owned 80 // Delegate for notifying our owner (usually Browser) about stuff. Not owned
81 // by us. 81 // by us.
82 BlockedContentTabHelperDelegate* delegate_; 82 BlockedContentTabHelperDelegate* delegate_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(BlockedContentTabHelper); 84 DISALLOW_COPY_AND_ASSIGN(BlockedContentTabHelper);
85 }; 85 };
86 86
87 #endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_ 87 #endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/render_view_context_menu.h ('k') | chrome/browser/ui/bookmarks/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698