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

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: 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
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, 605 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
610 bool enter_fullscreen) OVERRIDE; 606 bool enter_fullscreen) OVERRIDE;
611 virtual bool IsFullscreenForTabOrPending( 607 virtual bool IsFullscreenForTabOrPending(
612 const content::WebContents* web_contents) const OVERRIDE; 608 const content::WebContents* web_contents) const OVERRIDE;
613 virtual void JSOutOfMemory(content::WebContents* web_contents) OVERRIDE; 609 virtual void JSOutOfMemory(content::WebContents* web_contents) OVERRIDE;
614 virtual void RegisterProtocolHandler(content::WebContents* web_contents, 610 virtual void RegisterProtocolHandler(content::WebContents* web_contents,
615 const std::string& protocol, 611 const std::string& protocol,
616 const GURL& url, 612 const GURL& url,
617 const string16& title, 613 const string16& title,
618 bool user_gesture) OVERRIDE; 614 bool user_gesture) OVERRIDE;
619 #if defined(ENABLE_WEB_INTENTS)
620 virtual void RegisterIntentHandler(
621 content::WebContents* web_contents,
622 const webkit_glue::WebIntentServiceData& data,
623 bool user_gesture) OVERRIDE;
624 virtual void WebIntentDispatch(
625 content::WebContents* web_contents,
626 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
627 #endif
628 virtual void UpdatePreferredSize(content::WebContents* source, 615 virtual void UpdatePreferredSize(content::WebContents* source,
629 const gfx::Size& pref_size) OVERRIDE; 616 const gfx::Size& pref_size) OVERRIDE;
630 virtual void ResizeDueToAutoResize(content::WebContents* source, 617 virtual void ResizeDueToAutoResize(content::WebContents* source,
631 const gfx::Size& new_size) OVERRIDE; 618 const gfx::Size& new_size) OVERRIDE;
632 virtual void FindReply(content::WebContents* web_contents, 619 virtual void FindReply(content::WebContents* web_contents,
633 int request_id, 620 int request_id,
634 int number_of_matches, 621 int number_of_matches,
635 const gfx::Rect& selection_rect, 622 const gfx::Rect& selection_rect,
636 int active_match_ordinal, 623 int active_match_ordinal,
637 bool final_update) OVERRIDE; 624 bool final_update) OVERRIDE;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 bool window_has_shown_; 924 bool window_has_shown_;
938 925
939 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 926 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
940 // before DidEndColorChooser is called. 927 // before DidEndColorChooser is called.
941 scoped_ptr<content::ColorChooser> color_chooser_; 928 scoped_ptr<content::ColorChooser> color_chooser_;
942 929
943 DISALLOW_COPY_AND_ASSIGN(Browser); 930 DISALLOW_COPY_AND_ASSIGN(Browser);
944 }; 931 };
945 932
946 #endif // CHROME_BROWSER_UI_BROWSER_H_ 933 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_dependency_manager.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698