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

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

Issue 884103004: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 bool IsSubframe() const override; 334 bool IsSubframe() const override;
335 void Find(int request_id, 335 void Find(int request_id,
336 const base::string16& search_text, 336 const base::string16& search_text,
337 const blink::WebFindOptions& options) override; 337 const blink::WebFindOptions& options) override;
338 void StopFinding(StopFindAction action) override; 338 void StopFinding(StopFindAction action) override;
339 void InsertCSS(const std::string& css) override; 339 void InsertCSS(const std::string& css) override;
340 bool WasRecentlyAudible() override; 340 bool WasRecentlyAudible() override;
341 void GetManifest(const GetManifestCallback&) override; 341 void GetManifest(const GetManifestCallback&) override;
342 void ExitFullscreen() override; 342 void ExitFullscreen() override;
343 #if defined(OS_ANDROID) 343 #if defined(OS_ANDROID)
344 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() 344 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
345 override;
346 virtual WebContentsAndroid* GetWebContentsAndroid(); 345 virtual WebContentsAndroid* GetWebContentsAndroid();
347 #elif defined(OS_MACOSX) 346 #elif defined(OS_MACOSX)
348 void SetAllowOtherViews(bool allow) override; 347 void SetAllowOtherViews(bool allow) override;
349 bool GetAllowOtherViews() override; 348 bool GetAllowOtherViews() override;
350 #endif 349 #endif
351 350
352 // Implementation of PageNavigator. 351 // Implementation of PageNavigator.
353 WebContents* OpenURL(const OpenURLParams& params) override; 352 WebContents* OpenURL(const OpenURLParams& params) override;
354 353
355 // Implementation of IPC::Sender. 354 // Implementation of IPC::Sender.
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 // Adds/removes a callback called on creation of each new WebContents. 1272 // Adds/removes a callback called on creation of each new WebContents.
1274 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1273 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1275 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1274 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1276 1275
1277 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1276 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1278 }; 1277 };
1279 1278
1280 } // namespace content 1279 } // namespace content
1281 1280
1282 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1281 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_android.h ('k') | content/browser/web_contents/web_contents_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698