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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1095913002: Fix window.open issue in Document mode on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser Plugin Guest check Created 5 years, 8 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 const ImageDownloadCallback& callback) override; 351 const ImageDownloadCallback& callback) override;
352 bool IsSubframe() const override; 352 bool IsSubframe() const override;
353 void Find(int request_id, 353 void Find(int request_id,
354 const base::string16& search_text, 354 const base::string16& search_text,
355 const blink::WebFindOptions& options) override; 355 const blink::WebFindOptions& options) override;
356 void StopFinding(StopFindAction action) override; 356 void StopFinding(StopFindAction action) override;
357 void InsertCSS(const std::string& css) override; 357 void InsertCSS(const std::string& css) override;
358 bool WasRecentlyAudible() override; 358 bool WasRecentlyAudible() override;
359 void GetManifest(const GetManifestCallback&) override; 359 void GetManifest(const GetManifestCallback&) override;
360 void ExitFullscreen() override; 360 void ExitFullscreen() override;
361 void ResumeLoadingCreatedWebContents() override;
361 #if defined(OS_ANDROID) 362 #if defined(OS_ANDROID)
362 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; 363 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
363 virtual WebContentsAndroid* GetWebContentsAndroid(); 364 virtual WebContentsAndroid* GetWebContentsAndroid();
364 #elif defined(OS_MACOSX) 365 #elif defined(OS_MACOSX)
365 void SetAllowOtherViews(bool allow) override; 366 void SetAllowOtherViews(bool allow) override;
366 bool GetAllowOtherViews() override; 367 bool GetAllowOtherViews() override;
367 #endif 368 #endif
368 369
369 // Implementation of PageNavigator. 370 // Implementation of PageNavigator.
370 WebContents* OpenURL(const OpenURLParams& params) override; 371 WebContents* OpenURL(const OpenURLParams& params) override;
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 // Adds/removes a callback called on creation of each new WebContents. 1283 // Adds/removes a callback called on creation of each new WebContents.
1283 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1284 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1284 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1285 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1285 1286
1286 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1287 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1287 }; 1288 };
1288 1289
1289 } // namespace content 1290 } // namespace content
1290 1291
1291 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1292 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698