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

Side by Side Diff: chrome/browser/ui/views/external_tab_container_win.h

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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) 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_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 16 matching lines...) Expand all
27 #include "ui/base/accelerators/accelerator.h" 27 #include "ui/base/accelerators/accelerator.h"
28 #include "ui/views/widget/native_widget_win.h" 28 #include "ui/views/widget/native_widget_win.h"
29 29
30 class AutomationProvider; 30 class AutomationProvider;
31 class Browser; 31 class Browser;
32 class Profile; 32 class Profile;
33 class TabContentsContainer; 33 class TabContentsContainer;
34 class RenderViewContextMenuViews; 34 class RenderViewContextMenuViews;
35 struct NavigationInfo; 35 struct NavigationInfo;
36 36
37 namespace content {
38 class WebIntentsDispatcher;
39 }
40
41 namespace ui { 37 namespace ui {
42 class ViewProp; 38 class ViewProp;
43 } 39 }
44 40
45 namespace views { 41 namespace views {
46 class WebView; 42 class WebView;
47 } 43 }
48 44
49 // This class serves as the container window for an external tab. 45 // This class serves as the container window for an external tab.
50 // An external tab is a Chrome tab that is meant to displayed in an 46 // An external tab is a Chrome tab that is meant to displayed in an
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 const content::FileChooserParams& params) OVERRIDE; 150 const content::FileChooserParams& params) OVERRIDE;
155 virtual void EnumerateDirectory(content::WebContents* tab, 151 virtual void EnumerateDirectory(content::WebContents* tab,
156 int request_id, 152 int request_id,
157 const base::FilePath& path) OVERRIDE; 153 const base::FilePath& path) OVERRIDE;
158 virtual void JSOutOfMemory(content::WebContents* tab); 154 virtual void JSOutOfMemory(content::WebContents* tab);
159 virtual void RegisterProtocolHandler(content::WebContents* tab, 155 virtual void RegisterProtocolHandler(content::WebContents* tab,
160 const std::string& protocol, 156 const std::string& protocol,
161 const GURL& url, 157 const GURL& url,
162 const string16& title, 158 const string16& title,
163 bool user_gesture) OVERRIDE; 159 bool user_gesture) OVERRIDE;
164 #if defined(ENABLE_WEB_INTENTS)
165 virtual void RegisterIntentHandler(
166 content::WebContents* tab,
167 const webkit_glue::WebIntentServiceData& data,
168 bool user_gesture) OVERRIDE;
169 virtual void WebIntentDispatch(
170 content::WebContents* tab,
171 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
172 #endif
173 virtual void FindReply(content::WebContents* tab, 160 virtual void FindReply(content::WebContents* tab,
174 int request_id, 161 int request_id,
175 int number_of_matches, 162 int number_of_matches,
176 const gfx::Rect& selection_rect, 163 const gfx::Rect& selection_rect,
177 int active_match_ordinal, 164 int active_match_ordinal,
178 bool final_update) OVERRIDE; 165 bool final_update) OVERRIDE;
179 virtual void RequestMediaAccessPermission( 166 virtual void RequestMediaAccessPermission(
180 content::WebContents* web_contents, 167 content::WebContents* web_contents,
181 const content::MediaStreamRequest& request, 168 const content::MediaStreamRequest& request,
182 const content::MediaResponseCallback& callback) OVERRIDE; 169 const content::MediaResponseCallback& callback) OVERRIDE;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 return false; 394 return false;
408 } 395 }
409 396
410 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed, 397 virtual void BeforeUnloadFired(content::WebContents* tab, bool proceed,
411 bool* proceed_to_fire_unload) { 398 bool* proceed_to_fire_unload) {
412 NOTREACHED(); 399 NOTREACHED();
413 } 400 }
414 }; 401 };
415 402
416 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_ 403 #endif // CHROME_BROWSER_UI_VIEWS_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/action_box_button_controller.cc ('k') | chrome/browser/ui/views/external_tab_container_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698