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

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

Issue 368243009: Implement unregisterProtocolHandler() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 5 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
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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 const base::FilePath& path) OVERRIDE; 609 const base::FilePath& path) OVERRIDE;
610 virtual bool EmbedsFullscreenWidget() const OVERRIDE; 610 virtual bool EmbedsFullscreenWidget() const OVERRIDE;
611 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, 611 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
612 bool enter_fullscreen) OVERRIDE; 612 bool enter_fullscreen) OVERRIDE;
613 virtual bool IsFullscreenForTabOrPending( 613 virtual bool IsFullscreenForTabOrPending(
614 const content::WebContents* web_contents) const OVERRIDE; 614 const content::WebContents* web_contents) const OVERRIDE;
615 virtual void RegisterProtocolHandler(content::WebContents* web_contents, 615 virtual void RegisterProtocolHandler(content::WebContents* web_contents,
616 const std::string& protocol, 616 const std::string& protocol,
617 const GURL& url, 617 const GURL& url,
618 bool user_gesture) OVERRIDE; 618 bool user_gesture) OVERRIDE;
619 virtual void UnregisterProtocolHandler(content::WebContents* web_contents,
620 const std::string& protocol,
621 const GURL& url,
622 bool user_gesture) OVERRIDE;
619 virtual void UpdatePreferredSize(content::WebContents* source, 623 virtual void UpdatePreferredSize(content::WebContents* source,
620 const gfx::Size& pref_size) OVERRIDE; 624 const gfx::Size& pref_size) OVERRIDE;
621 virtual void ResizeDueToAutoResize(content::WebContents* source, 625 virtual void ResizeDueToAutoResize(content::WebContents* source,
622 const gfx::Size& new_size) OVERRIDE; 626 const gfx::Size& new_size) OVERRIDE;
623 virtual void FindReply(content::WebContents* web_contents, 627 virtual void FindReply(content::WebContents* web_contents,
624 int request_id, 628 int request_id,
625 int number_of_matches, 629 int number_of_matches,
626 const gfx::Rect& selection_rect, 630 const gfx::Rect& selection_rect,
627 int active_match_ordinal, 631 int active_match_ordinal,
628 bool final_update) OVERRIDE; 632 bool final_update) OVERRIDE;
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 base::WeakPtrFactory<Browser> weak_factory_; 941 base::WeakPtrFactory<Browser> weak_factory_;
938 942
939 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_; 943 scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
940 944
941 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; 945 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
942 946
943 DISALLOW_COPY_AND_ASSIGN(Browser); 947 DISALLOW_COPY_AND_ASSIGN(Browser);
944 }; 948 };
945 949
946 #endif // CHROME_BROWSER_UI_BROWSER_H_ 950 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698