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

Unified Diff: chrome_frame/in_place_menu.h

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/http_negotiate.cc ('k') | chrome_frame/plugin_url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/in_place_menu.h
diff --git a/chrome_frame/in_place_menu.h b/chrome_frame/in_place_menu.h
index d6b368a4850a012ab115895a71fe7474bafbbacb..76e9d75f8c99fcc1a13baf9c2ee09139dfda6939 100644
--- a/chrome_frame/in_place_menu.h
+++ b/chrome_frame/in_place_menu.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,7 +22,7 @@
// Active Template Library product.
#include "base/logging.h"
-#include "base/scoped_comptr_win.h"
+#include "base/win/scoped_comptr.h"
template <class T>
class InPlaceMenu {
@@ -42,7 +42,7 @@ class InPlaceMenu {
if (ole_menu_ || shared_menu_)
return S_OK;
- ScopedComPtr<IOleInPlaceFrame> in_place_frame;
+ base::win::ScopedComPtr<IOleInPlaceFrame> in_place_frame;
GetInPlaceFrame(in_place_frame.Receive());
// We have no IOleInPlaceFrame, no menu merging possible
if (!in_place_frame) {
@@ -70,7 +70,7 @@ class InPlaceMenu {
}
HRESULT InPlaceMenuDestroy() {
- ScopedComPtr<IOleInPlaceFrame> in_place_frame;
+ base::win::ScopedComPtr<IOleInPlaceFrame> in_place_frame;
GetInPlaceFrame(in_place_frame.Receive());
if (in_place_frame) {
in_place_frame->RemoveMenus(shared_menu_);
@@ -177,7 +177,7 @@ class InPlaceMenu {
// we'll have to get it ourselves.
if (t->m_spInPlaceSite) {
t->frame_info_.cb = sizeof(OLEINPLACEFRAMEINFO);
- ScopedComPtr<IOleInPlaceUIWindow> in_place_ui_window;
+ base::win::ScopedComPtr<IOleInPlaceUIWindow> in_place_ui_window;
RECT position_rect = {0};
RECT clip_rect = {0};
hr = t->m_spInPlaceSite->GetWindowContext(in_place_frame,
« no previous file with comments | « chrome_frame/http_negotiate.cc ('k') | chrome_frame/plugin_url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698