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

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

Issue 12225076: Delete most web intents code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 namespace gfx { 85 namespace gfx {
86 class Image; 86 class Image;
87 class Point; 87 class Point;
88 } 88 }
89 89
90 namespace ui { 90 namespace ui {
91 struct SelectedFileInfo; 91 struct SelectedFileInfo;
92 class WebDialogDelegate; 92 class WebDialogDelegate;
93 } 93 }
94 94
95 namespace webkit_glue {
96 struct WebIntentServiceData;
97 }
98
99 class Browser : public TabStripModelObserver, 95 class Browser : public TabStripModelObserver,
100 public content::WebContentsDelegate, 96 public content::WebContentsDelegate,
101 public CoreTabHelperDelegate, 97 public CoreTabHelperDelegate,
102 public SearchEngineTabHelperDelegate, 98 public SearchEngineTabHelperDelegate,
103 public WebContentsModalDialogManagerDelegate, 99 public WebContentsModalDialogManagerDelegate,
104 public BlockedContentTabHelperDelegate, 100 public BlockedContentTabHelperDelegate,
105 public BookmarkTabHelperDelegate, 101 public BookmarkTabHelperDelegate,
106 public ZoomObserver, 102 public ZoomObserver,
107 public content::PageNavigator, 103 public content::PageNavigator,
108 public content::NotificationObserver, 104 public content::NotificationObserver,
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, 600 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
605 bool enter_fullscreen) OVERRIDE; 601 bool enter_fullscreen) OVERRIDE;
606 virtual bool IsFullscreenForTabOrPending( 602 virtual bool IsFullscreenForTabOrPending(
607 const content::WebContents* web_contents) const OVERRIDE; 603 const content::WebContents* web_contents) const OVERRIDE;
608 virtual void JSOutOfMemory(content::WebContents* web_contents) OVERRIDE; 604 virtual void JSOutOfMemory(content::WebContents* web_contents) OVERRIDE;
609 virtual void RegisterProtocolHandler(content::WebContents* web_contents, 605 virtual void RegisterProtocolHandler(content::WebContents* web_contents,
610 const std::string& protocol, 606 const std::string& protocol,
611 const GURL& url, 607 const GURL& url,
612 const string16& title, 608 const string16& title,
613 bool user_gesture) OVERRIDE; 609 bool user_gesture) OVERRIDE;
614 #if defined(ENABLE_WEB_INTENTS)
615 virtual void RegisterIntentHandler(
616 content::WebContents* web_contents,
617 const webkit_glue::WebIntentServiceData& data,
618 bool user_gesture) OVERRIDE;
619 virtual void WebIntentDispatch(
620 content::WebContents* web_contents,
621 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
622 #endif
623 virtual void UpdatePreferredSize(content::WebContents* source, 610 virtual void UpdatePreferredSize(content::WebContents* source,
624 const gfx::Size& pref_size) OVERRIDE; 611 const gfx::Size& pref_size) OVERRIDE;
625 virtual void ResizeDueToAutoResize(content::WebContents* source, 612 virtual void ResizeDueToAutoResize(content::WebContents* source,
626 const gfx::Size& new_size) OVERRIDE; 613 const gfx::Size& new_size) OVERRIDE;
627 virtual void FindReply(content::WebContents* web_contents, 614 virtual void FindReply(content::WebContents* web_contents,
628 int request_id, 615 int request_id,
629 int number_of_matches, 616 int number_of_matches,
630 const gfx::Rect& selection_rect, 617 const gfx::Rect& selection_rect,
631 int active_match_ordinal, 618 int active_match_ordinal,
632 bool final_update) OVERRIDE; 619 bool final_update) OVERRIDE;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 bool window_has_shown_; 919 bool window_has_shown_;
933 920
934 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 921 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
935 // before DidEndColorChooser is called. 922 // before DidEndColorChooser is called.
936 scoped_ptr<content::ColorChooser> color_chooser_; 923 scoped_ptr<content::ColorChooser> color_chooser_;
937 924
938 DISALLOW_COPY_AND_ASSIGN(Browser); 925 DISALLOW_COPY_AND_ASSIGN(Browser);
939 }; 926 };
940 927
941 #endif // CHROME_BROWSER_UI_BROWSER_H_ 928 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698