summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 18:48:26 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 18:48:26 +0000
commit4d51d5bf2d7f19aacb08fe0315de66e8c7fd4c76 (patch)
treeab9a9729c2aca5ed3c6c767cd6b069e6a5f67415 /chrome/plugin
parentbba8d8fe781bb9d20f259a4551504c20e4f0da71 (diff)
downloadchromium_src-4d51d5bf2d7f19aacb08fe0315de66e8c7fd4c76.zip
chromium_src-4d51d5bf2d7f19aacb08fe0315de66e8c7fd4c76.tar.gz
chromium_src-4d51d5bf2d7f19aacb08fe0315de66e8c7fd4c76.tar.bz2
render_view.h: Header cleanup.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3061013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc4
-rw-r--r--chrome/plugin/webplugin_delegate_stub.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index 5b719ac..9bc8561 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -363,8 +363,8 @@ void WebPluginDelegateStub::OnContainerShown(gfx::Rect window_frame,
delegate_->SetWindowHasFocus(has_focus);
}
-void WebPluginDelegateStub::OnWindowFrameChanged(gfx::Rect window_frame,
- gfx::Rect view_frame) {
+void WebPluginDelegateStub::OnWindowFrameChanged(const gfx::Rect& window_frame,
+ const gfx::Rect& view_frame) {
delegate_->WindowFrameChanged(window_frame, view_frame);
}
#endif // OS_MACOSX
diff --git a/chrome/plugin/webplugin_delegate_stub.h b/chrome/plugin/webplugin_delegate_stub.h
index 9c9d0b4..407914e 100644
--- a/chrome/plugin/webplugin_delegate_stub.h
+++ b/chrome/plugin/webplugin_delegate_stub.h
@@ -84,7 +84,8 @@ class WebPluginDelegateStub : public IPC::Channel::Listener,
void OnContainerHidden();
void OnContainerShown(gfx::Rect window_frame, gfx::Rect view_frame,
bool has_focus);
- void OnWindowFrameChanged(gfx::Rect window_frame, gfx::Rect view_frame);
+ void OnWindowFrameChanged(const gfx::Rect& window_frame,
+ const gfx::Rect& view_frame);
#endif
void OnDidReceiveManualResponse(