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

Side by Side Diff: blimp/client/app/android/toolbar.h

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses mmenke's comments. Client uses assignment directly without reading commandline. Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ 5 #ifndef BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_
6 #define BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ 6 #define BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 30 matching lines...) Expand all
41 const base::android::JavaParamRef<jobject>& jobj); 41 const base::android::JavaParamRef<jobject>& jobj);
42 42
43 // NavigationFeatureDelegate implementation. 43 // NavigationFeatureDelegate implementation.
44 void OnUrlChanged(int tab_id, const GURL& url) override; 44 void OnUrlChanged(int tab_id, const GURL& url) override;
45 void OnFaviconChanged(int tab_id, const SkBitmap& favicon) override; 45 void OnFaviconChanged(int tab_id, const SkBitmap& favicon) override;
46 void OnTitleChanged(int tab_id, const std::string& title) override; 46 void OnTitleChanged(int tab_id, const std::string& title) override;
47 void OnLoadingChanged(int tab_id, bool loading) override; 47 void OnLoadingChanged(int tab_id, bool loading) override;
48 void OnPageLoadStatusUpdate(int tab_id, bool completed) override; 48 void OnPageLoadStatusUpdate(int tab_id, bool completed) override;
49 49
50 private: 50 private:
51 virtual ~Toolbar(); 51 ~Toolbar() override;
52 52
53 // A bridge to the network layer which does the work of (de)serializing the 53 // A bridge to the network layer which does the work of (de)serializing the
54 // outgoing and incoming navigation messages from the engine. Toolbar does not 54 // outgoing and incoming navigation messages from the engine. Toolbar does not
55 // own this and it is expected to outlive this Toolbar instance. 55 // own this and it is expected to outlive this Toolbar instance.
56 NavigationFeature* navigation_feature_; 56 NavigationFeature* navigation_feature_;
57 57
58 // Reference to the Java object which owns this class. 58 // Reference to the Java object which owns this class.
59 base::android::ScopedJavaGlobalRef<jobject> java_obj_; 59 base::android::ScopedJavaGlobalRef<jobject> java_obj_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(Toolbar); 61 DISALLOW_COPY_AND_ASSIGN(Toolbar);
62 }; 62 };
63 63
64 } // namespace client 64 } // namespace client
65 } // namespace blimp 65 } // namespace blimp
66 66
67 #endif // BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_ 67 #endif // BLIMP_CLIENT_APP_ANDROID_TOOLBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698