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

Side by Side Diff: chrome/browser/android/banners/app_banner_manager.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_
6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ 6 #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/jni_weak_ref.h" 9 #include "base/android/jni_weak_ref.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Fetches the icon at the give URL. 76 // Fetches the icon at the give URL.
77 // Returns |false| if this couldn't be kicked off. 77 // Returns |false| if this couldn't be kicked off.
78 bool FetchIcon(JNIEnv* env, 78 bool FetchIcon(JNIEnv* env,
79 jobject obj, 79 jobject obj,
80 jstring jimage_url); 80 jstring jimage_url);
81 81
82 // WebContentsObserver overrides. 82 // WebContentsObserver overrides.
83 virtual void DidNavigateMainFrame( 83 virtual void DidNavigateMainFrame(
84 const content::LoadCommittedDetails& details, 84 const content::LoadCommittedDetails& details,
85 const content::FrameNavigateParams& params) OVERRIDE; 85 const content::FrameNavigateParams& params) override;
86 86
87 // BitmapFetcherDelegate overrides. 87 // BitmapFetcherDelegate overrides.
88 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) OVERRIDE; 88 virtual void OnFetchComplete(const GURL url, const SkBitmap* bitmap) override;
89 89
90 private: 90 private:
91 // Kicks off the process of showing a banner for the package designated by 91 // Kicks off the process of showing a banner for the package designated by
92 // |tag_content| on the page at the |expected_url|. 92 // |tag_content| on the page at the |expected_url|.
93 virtual void HandleMetaTagContent(const std::string& tag_content, 93 virtual void HandleMetaTagContent(const std::string& tag_content,
94 const GURL& expected_url) OVERRIDE; 94 const GURL& expected_url) override;
95 95
96 // Fetches the icon for an app. 96 // Fetches the icon for an app.
97 scoped_ptr<chrome::BitmapFetcher> fetcher_; 97 scoped_ptr<chrome::BitmapFetcher> fetcher_;
98 98
99 // AppBannerManager on the Java side. 99 // AppBannerManager on the Java side.
100 JavaObjectWeakGlobalRef weak_java_banner_view_manager_; 100 JavaObjectWeakGlobalRef weak_java_banner_view_manager_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(AppBannerManager); 102 DISALLOW_COPY_AND_ASSIGN(AppBannerManager);
103 }; // class AppBannerManager 103 }; // class AppBannerManager
104 104
105 // Register native methods 105 // Register native methods
106 bool RegisterAppBannerManager(JNIEnv* env); 106 bool RegisterAppBannerManager(JNIEnv* env);
107 107
108 } // namespace banners 108 } // namespace banners
109 109
110 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_ 110 #endif // CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/accessibility/font_size_prefs_android.h ('k') | chrome/browser/android/bookmarks/bookmarks_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698