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

Side by Side Diff: content/shell/browser/shell.h

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: cast to activity Created 4 years, 2 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 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 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 void AddNewContents(WebContents* source, 121 void AddNewContents(WebContents* source,
122 WebContents* new_contents, 122 WebContents* new_contents,
123 WindowOpenDisposition disposition, 123 WindowOpenDisposition disposition,
124 const gfx::Rect& initial_rect, 124 const gfx::Rect& initial_rect,
125 bool user_gesture, 125 bool user_gesture,
126 bool* was_blocked) override; 126 bool* was_blocked) override;
127 void LoadingStateChanged(WebContents* source, 127 void LoadingStateChanged(WebContents* source,
128 bool to_different_document) override; 128 bool to_different_document) override;
129 #if defined(OS_ANDROID) 129 #if defined(OS_ANDROID)
130 void LoadProgressChanged(WebContents* source, double progress) override; 130 void LoadProgressChanged(WebContents* source, double progress) override;
131 base::android::ScopedJavaLocalRef<jobject>
132 GetContentVideoViewEmbedder() override;
131 #endif 133 #endif
132 void EnterFullscreenModeForTab(WebContents* web_contents, 134 void EnterFullscreenModeForTab(WebContents* web_contents,
133 const GURL& origin) override; 135 const GURL& origin) override;
134 void ExitFullscreenModeForTab(WebContents* web_contents) override; 136 void ExitFullscreenModeForTab(WebContents* web_contents) override;
135 bool IsFullscreenForTabOrPending( 137 bool IsFullscreenForTabOrPending(
136 const WebContents* web_contents) const override; 138 const WebContents* web_contents) const override;
137 blink::WebDisplayMode GetDisplayMode( 139 blink::WebDisplayMode GetDisplayMode(
138 const WebContents* web_contents) const override; 140 const WebContents* web_contents) const override;
139 void RequestToLockMouse(WebContents* web_contents, 141 void RequestToLockMouse(WebContents* web_contents,
140 bool user_gesture, 142 bool user_gesture,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 static base::Callback<void(Shell*)> shell_created_callback_; 267 static base::Callback<void(Shell*)> shell_created_callback_;
266 268
267 // True if the destructur of Shell should post a quit closure on the current 269 // True if the destructur of Shell should post a quit closure on the current
268 // message loop if the destructed Shell object was the last one. 270 // message loop if the destructed Shell object was the last one.
269 static bool quit_message_loop_; 271 static bool quit_message_loop_;
270 }; 272 };
271 273
272 } // namespace content 274 } // namespace content
273 275
274 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 276 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/shell/android/java/src/org/chromium/content_shell/ShellManager.java ('k') | content/shell/browser/shell_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698