summaryrefslogtreecommitdiffstats
path: root/chrome/views/text_field.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 00:26:30 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-16 00:26:30 +0000
commit4d0bd1045bc0df8daea2a5626e73906cb074631b (patch)
tree6794b895e236b68c2f7de1163dfb1c554646364c /chrome/views/text_field.cc
parent7609533b68dcbeaa80bf712dd84726d1da8d3f8a (diff)
downloadchromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.zip
chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.gz
chromium_src-4d0bd1045bc0df8daea2a5626e73906cb074631b.tar.bz2
Rename ViewContainer to Container and HWNDViewContainer to ContainerWin.
http://crbug.com/3430 Review URL: http://codereview.chromium.org/7376 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3441 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/text_field.cc')
-rw-r--r--chrome/views/text_field.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/views/text_field.cc b/chrome/views/text_field.cc
index 6968b2b..2991040 100644
--- a/chrome/views/text_field.cc
+++ b/chrome/views/text_field.cc
@@ -20,9 +20,9 @@
#include "chrome/common/l10n_util.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/win_util.h"
+#include "chrome/views/container.h"
#include "chrome/views/hwnd_view.h"
#include "chrome/views/menu.h"
-#include "chrome/views/view_container.h"
#include "generated_resources.h"
@@ -248,7 +248,7 @@ TextField::Edit::Edit(TextField* parent, bool draw_border)
DWORD ex_style = l10n_util::GetExtendedStyles();
RECT r = {0, 0, parent_->width(), parent_->height()};
- Create(parent_->GetViewContainer()->GetHWND(), r, NULL, style, ex_style);
+ Create(parent_->GetContainer()->GetHWND(), r, NULL, style, ex_style);
// Set up the text_object_model_.
CComPtr<IRichEditOle> ole_interface;
@@ -800,9 +800,9 @@ TextField::~TextField() {
}
void TextField::ViewHierarchyChanged(bool is_add, View* parent, View* child) {
- ViewContainer* vc;
+ Container* vc;
- if (is_add && (vc = GetViewContainer())) {
+ if (is_add && (vc = GetContainer())) {
// This notification is called from the AddChildView call below. Ignore it.
if (native_view_ && !edit_)
return;