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

Unified Diff: chrome/browser/cocoa/find_bar_text_field.mm

Issue 2878037: [Mac]Implement ViewID support. (third approach) (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Update according to review feedback. Created 10 years, 5 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
Index: chrome/browser/cocoa/find_bar_text_field.mm
diff --git a/chrome/browser/cocoa/find_bar_text_field.mm b/chrome/browser/cocoa/find_bar_text_field.mm
index 7873c02dcbf2e60ffcff5c864c3d2da96e0a81b4..e6f1e75792919bd8fe1b499101bf1e1f2714da16 100644
--- a/chrome/browser/cocoa/find_bar_text_field.mm
+++ b/chrome/browser/cocoa/find_bar_text_field.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -6,6 +6,7 @@
#include "base/logging.h"
#import "chrome/browser/cocoa/find_bar_text_field_cell.h"
+#import "chrome/browser/cocoa/view_id_util.h"
@implementation FindBarTextField
@@ -22,4 +23,8 @@
return static_cast<FindBarTextFieldCell*>([self cell]);
}
+- (ViewID)viewID {
+ return VIEW_ID_FIND_IN_PAGE_TEXT_FIELD;
+}
+
@end
« no previous file with comments | « chrome/browser/cocoa/extensions/browser_actions_container_view.mm ('k') | chrome/browser/cocoa/find_bar_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698