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

Side by Side Diff: chrome/browser/ui/intents/web_intent_inline_disposition_delegate.h

Issue 10868116: Pass result of blockage across content API when new tab blocked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" 9 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
(...skipping 25 matching lines...) Expand all
36 virtual bool ShouldAddNavigationToHistory( 36 virtual bool ShouldAddNavigationToHistory(
37 const history::HistoryAddPageArgs& add_page_args, 37 const history::HistoryAddPageArgs& add_page_args,
38 content::NavigationType navigation_type) OVERRIDE; 38 content::NavigationType navigation_type) OVERRIDE;
39 virtual content::WebContents* OpenURLFromTab( 39 virtual content::WebContents* OpenURLFromTab(
40 content::WebContents* source, 40 content::WebContents* source,
41 const content::OpenURLParams& params) OVERRIDE; 41 const content::OpenURLParams& params) OVERRIDE;
42 virtual void AddNewContents(content::WebContents* source, 42 virtual void AddNewContents(content::WebContents* source,
43 content::WebContents* new_contents, 43 content::WebContents* new_contents,
44 WindowOpenDisposition disposition, 44 WindowOpenDisposition disposition,
45 const gfx::Rect& initial_pos, 45 const gfx::Rect& initial_pos,
46 bool user_gesture) OVERRIDE; 46 bool user_gesture,
47 bool* was_blocked) OVERRIDE;
47 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE; 48 virtual void LoadingStateChanged(content::WebContents* source) OVERRIDE;
48 virtual void ResizeDueToAutoResize(content::WebContents* source, 49 virtual void ResizeDueToAutoResize(content::WebContents* source,
49 const gfx::Size& pref_size) OVERRIDE; 50 const gfx::Size& pref_size) OVERRIDE;
50 51
51 // content::WebContentsObserver 52 // content::WebContentsObserver
52 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 53 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
53 virtual void RenderViewCreated( 54 virtual void RenderViewCreated(
54 content::RenderViewHost* render_view_host) OVERRIDE; 55 content::RenderViewHost* render_view_host) OVERRIDE;
55 56
56 // ExtensionFunctionDispatcher::Delegate 57 // ExtensionFunctionDispatcher::Delegate
(...skipping 10 matching lines...) Expand all
67 // The WebContents container. Weak pointer. 68 // The WebContents container. Weak pointer.
68 content::WebContents* web_contents_; 69 content::WebContents* web_contents_;
69 70
70 Browser* browser_; // Weak pointer. 71 Browser* browser_; // Weak pointer.
71 72
72 // Dispatch handler for extension APIs. 73 // Dispatch handler for extension APIs.
73 ExtensionFunctionDispatcher extension_function_dispatcher_; 74 ExtensionFunctionDispatcher extension_function_dispatcher_;
74 }; 75 };
75 76
76 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_ 77 #endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698