OLD | NEW |
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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 const content::FileChooserParams& params) override; | 606 const content::FileChooserParams& params) override; |
607 void EnumerateDirectory(content::WebContents* web_contents, | 607 void EnumerateDirectory(content::WebContents* web_contents, |
608 int request_id, | 608 int request_id, |
609 const base::FilePath& path) override; | 609 const base::FilePath& path) override; |
610 bool EmbedsFullscreenWidget() const override; | 610 bool EmbedsFullscreenWidget() const override; |
611 void EnterFullscreenModeForTab(content::WebContents* web_contents, | 611 void EnterFullscreenModeForTab(content::WebContents* web_contents, |
612 const GURL& origin) override; | 612 const GURL& origin) override; |
613 void ExitFullscreenModeForTab(content::WebContents* web_contents) override; | 613 void ExitFullscreenModeForTab(content::WebContents* web_contents) override; |
614 bool IsFullscreenForTabOrPending( | 614 bool IsFullscreenForTabOrPending( |
615 const content::WebContents* web_contents) const override; | 615 const content::WebContents* web_contents) const override; |
| 616 blink::WebDisplayMode GetDisplayMode( |
| 617 const content::WebContents* web_contents) const override; |
616 void RegisterProtocolHandler(content::WebContents* web_contents, | 618 void RegisterProtocolHandler(content::WebContents* web_contents, |
617 const std::string& protocol, | 619 const std::string& protocol, |
618 const GURL& url, | 620 const GURL& url, |
619 bool user_gesture) override; | 621 bool user_gesture) override; |
620 void UnregisterProtocolHandler(content::WebContents* web_contents, | 622 void UnregisterProtocolHandler(content::WebContents* web_contents, |
621 const std::string& protocol, | 623 const std::string& protocol, |
622 const GURL& url, | 624 const GURL& url, |
623 bool user_gesture) override; | 625 bool user_gesture) override; |
624 void UpdatePreferredSize(content::WebContents* source, | 626 void UpdatePreferredSize(content::WebContents* source, |
625 const gfx::Size& pref_size) override; | 627 const gfx::Size& pref_size) override; |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 // The following factory is used for chrome update coalescing. | 974 // The following factory is used for chrome update coalescing. |
973 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 975 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
974 | 976 |
975 // The following factory is used to close the frame at a later time. | 977 // The following factory is used to close the frame at a later time. |
976 base::WeakPtrFactory<Browser> weak_factory_; | 978 base::WeakPtrFactory<Browser> weak_factory_; |
977 | 979 |
978 DISALLOW_COPY_AND_ASSIGN(Browser); | 980 DISALLOW_COPY_AND_ASSIGN(Browser); |
979 }; | 981 }; |
980 | 982 |
981 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 983 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |