summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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 'apps')
-rw-r--r--apps/custom_launcher_page_contents.cc4
-rw-r--r--apps/custom_launcher_page_contents.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/custom_launcher_page_contents.cc b/apps/custom_launcher_page_contents.cc
index 150bfcf..20744b3 100644
--- a/apps/custom_launcher_page_contents.cc
+++ b/apps/custom_launcher_page_contents.cc
@@ -71,13 +71,13 @@ void CustomLauncherPageContents::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) {
app_delegate_->AddNewContents(new_contents->GetBrowserContext(),
new_contents,
disposition,
- initial_pos,
+ initial_rect,
user_gesture,
was_blocked);
}
diff --git a/apps/custom_launcher_page_contents.h b/apps/custom_launcher_page_contents.h
index 95c7c65..919bbe3 100644
--- a/apps/custom_launcher_page_contents.h
+++ b/apps/custom_launcher_page_contents.h
@@ -48,7 +48,7 @@ class CustomLauncherPageContents
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;
bool IsPopupOrPanel(const content::WebContents* source) const override;