| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ | 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ |
| 5 #define CONTENT_SHELL_BROWSER_SHELL_H_ | 5 #define CONTENT_SHELL_BROWSER_SHELL_H_ |
| 6 | 6 |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void LoadingStateChanged(WebContents* source, | 118 void LoadingStateChanged(WebContents* source, |
| 119 bool to_different_document) override; | 119 bool to_different_document) override; |
| 120 #if defined(OS_ANDROID) | 120 #if defined(OS_ANDROID) |
| 121 void LoadProgressChanged(WebContents* source, double progress) override; | 121 void LoadProgressChanged(WebContents* source, double progress) override; |
| 122 #endif | 122 #endif |
| 123 void EnterFullscreenModeForTab(WebContents* web_contents, | 123 void EnterFullscreenModeForTab(WebContents* web_contents, |
| 124 const GURL& origin) override; | 124 const GURL& origin) override; |
| 125 void ExitFullscreenModeForTab(WebContents* web_contents) override; | 125 void ExitFullscreenModeForTab(WebContents* web_contents) override; |
| 126 bool IsFullscreenForTabOrPending( | 126 bool IsFullscreenForTabOrPending( |
| 127 const WebContents* web_contents) const override; | 127 const WebContents* web_contents) const override; |
| 128 blink::WebDisplayMode GetDisplayMode( |
| 129 const WebContents* web_contents) const override; |
| 128 void RequestToLockMouse(WebContents* web_contents, | 130 void RequestToLockMouse(WebContents* web_contents, |
| 129 bool user_gesture, | 131 bool user_gesture, |
| 130 bool last_unlocked_by_target) override; | 132 bool last_unlocked_by_target) override; |
| 131 void CloseContents(WebContents* source) override; | 133 void CloseContents(WebContents* source) override; |
| 132 bool CanOverscrollContent() const override; | 134 bool CanOverscrollContent() const override; |
| 133 void DidNavigateMainFramePostCommit(WebContents* web_contents) override; | 135 void DidNavigateMainFramePostCommit(WebContents* web_contents) override; |
| 134 JavaScriptDialogManager* GetJavaScriptDialogManager( | 136 JavaScriptDialogManager* GetJavaScriptDialogManager( |
| 135 WebContents* source) override; | 137 WebContents* source) override; |
| 136 #if defined(OS_MACOSX) | 138 #if defined(OS_MACOSX) |
| 137 void HandleKeyboardEvent(WebContents* source, | 139 void HandleKeyboardEvent(WebContents* source, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 static base::Callback<void(Shell*)> shell_created_callback_; | 251 static base::Callback<void(Shell*)> shell_created_callback_; |
| 250 | 252 |
| 251 // True if the destructur of Shell should post a quit closure on the current | 253 // True if the destructur of Shell should post a quit closure on the current |
| 252 // message loop if the destructed Shell object was the last one. | 254 // message loop if the destructed Shell object was the last one. |
| 253 static bool quit_message_loop_; | 255 static bool quit_message_loop_; |
| 254 }; | 256 }; |
| 255 | 257 |
| 256 } // namespace content | 258 } // namespace content |
| 257 | 259 |
| 258 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ | 260 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ |
| OLD | NEW |