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

Side by Side Diff: chromecast/browser/android/cast_window_android.h

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 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 CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ 5 #ifndef CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_
6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ 6 #define CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Destroys this window immediately. 52 // Destroys this window immediately.
53 void Destroy(); 53 void Destroy();
54 54
55 // Registers the JNI methods for CastWindowAndroid. 55 // Registers the JNI methods for CastWindowAndroid.
56 static bool RegisterJni(JNIEnv* env); 56 static bool RegisterJni(JNIEnv* env);
57 57
58 // content::WebContentsDelegate implementation: 58 // content::WebContentsDelegate implementation:
59 virtual void AddNewContents(content::WebContents* source, 59 virtual void AddNewContents(content::WebContents* source,
60 content::WebContents* new_contents, 60 content::WebContents* new_contents,
61 WindowOpenDisposition disposition, 61 WindowOpenDisposition disposition,
62 const gfx::Rect& initial_pos, 62 const gfx::Rect& initial_rect,
63 bool user_gesture, 63 bool user_gesture,
64 bool* was_blocked) override; 64 bool* was_blocked) override;
65 virtual void CloseContents(content::WebContents* source) override; 65 virtual void CloseContents(content::WebContents* source) override;
66 virtual bool CanOverscrollContent() const override; 66 virtual bool CanOverscrollContent() const override;
67 virtual bool AddMessageToConsole(content::WebContents* source, 67 virtual bool AddMessageToConsole(content::WebContents* source,
68 int32 level, 68 int32 level,
69 const base::string16& message, 69 const base::string16& message,
70 int32 line_no, 70 int32 line_no,
71 const base::string16& source_id) override; 71 const base::string16& source_id) override;
72 virtual void ActivateContents(content::WebContents* contents) override; 72 virtual void ActivateContents(content::WebContents* contents) override;
(...skipping 15 matching lines...) Expand all
88 88
89 base::WeakPtrFactory<CastWindowAndroid> weak_factory_; 89 base::WeakPtrFactory<CastWindowAndroid> weak_factory_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid); 91 DISALLOW_COPY_AND_ASSIGN(CastWindowAndroid);
92 }; 92 };
93 93
94 } // namespace shell 94 } // namespace shell
95 } // namespace chromecast 95 } // namespace chromecast
96 96
97 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_ 97 #endif // CHROMECAST_BROWSER_ANDROID_CAST_WINDOW_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chrome_web_contents_handler.cc ('k') | chromecast/browser/android/cast_window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698