summaryrefslogtreecommitdiffstats
path: root/android_webview/native
diff options
context:
space:
mode:
authorbokan <bokan@chromium.org>2015-02-03 15:23:39 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-03 23:24:29 +0000
commit107a47faa8f7e9c38cd0e7aeac74751b103df215 (patch)
tree2d902d3f5e7d9632c1c007b4ae11175f7c56f14e /android_webview/native
parent8da6aa6d5f5d4000fa733df814e83ff57da56dca (diff)
downloadchromium_src-107a47faa8f7e9c38cd0e7aeac74751b103df215.zip
chromium_src-107a47faa8f7e9c38cd0e7aeac74751b103df215.tar.gz
chromium_src-107a47faa8f7e9c38cd0e7aeac74751b103df215.tar.bz2
Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs.
These IPCs hold this param as a gfx::Rect and the RenderWidget and RenderView set the size. On the receiving end, the size is sometimes used so initial_pos was a misnomer. This is a mechanical rename, there should be no functional difference. TBR= BUG= Review URL: https://codereview.chromium.org/889403004 Cr-Commit-Position: refs/heads/master@{#314430}
Diffstat (limited to 'android_webview/native')
-rw-r--r--android_webview/native/aw_web_contents_delegate.cc2
-rw-r--r--android_webview/native/aw_web_contents_delegate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index 2f43de1ae..acece1b 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -125,7 +125,7 @@ void AwWebContentsDelegate::RunFileChooser(WebContents* web_contents,
void AwWebContentsDelegate::AddNewContents(WebContents* source,
WebContents* new_contents,
WindowOpenDisposition disposition,
- const gfx::Rect& initial_pos,
+ const gfx::Rect& initial_rect,
bool user_gesture,
bool* was_blocked) {
JNIEnv* env = AttachCurrentThread();
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index 8a17a3e..9277a54 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -37,7 +37,7 @@ class AwWebContentsDelegate
virtual void AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
- const gfx::Rect& initial_pos,
+ const gfx::Rect& initial_rect,
bool user_gesture,
bool* was_blocked) override;