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

Side by Side Diff: chrome/renderer/searchbox/searchbox.cc

Issue 7838004: A Change that does not compile. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5
6 BORKBORKBORK HURDY-GURDY meatballs.
7
5 #include "chrome/renderer/searchbox/searchbox.h" 8 #include "chrome/renderer/searchbox/searchbox.h"
6 9
7 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
8 #include "chrome/renderer/searchbox/searchbox_extension.h" 11 #include "chrome/renderer/searchbox/searchbox_extension.h"
9 #include "content/public/renderer/render_view.h" 12 #include "content/public/renderer/render_view.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
11 14
12 SearchBox::SearchBox(content::RenderView* render_view) 15 SearchBox::SearchBox(content::RenderView* render_view)
13 : content::RenderViewObserver(render_view), 16 : content::RenderViewObserver(render_view),
14 content::RenderViewObserverTracker<SearchBox>(render_view), 17 content::RenderViewObserverTracker<SearchBox>(render_view),
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 is_key_capture_enabled_ = false; 300 is_key_capture_enabled_ = false;
298 mode_ = chrome::search::Mode(); 301 mode_ = chrome::search::Mode();
299 theme_info_ = ThemeBackgroundInfo(); 302 theme_info_ = ThemeBackgroundInfo();
300 theme_area_height_ = 0; 303 theme_area_height_ = 0;
301 // Don't reset display_instant_results_ to prevent clearing it on committed 304 // Don't reset display_instant_results_ to prevent clearing it on committed
302 // results pages in extended mode. Otherwise resetting it is a no-op because 305 // results pages in extended mode. Otherwise resetting it is a no-op because
303 // a new loader is created when it changes; see crbug.com/164662. 306 // a new loader is created when it changes; see crbug.com/164662.
304 // Also don't reset omnibox_font_ or omnibox_font_size_ since it never 307 // Also don't reset omnibox_font_ or omnibox_font_size_ since it never
305 // changes. 308 // changes.
306 } 309 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698