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

Side by Side Diff: chrome/renderer/searchbox/searchbox_extension.h

Issue 11413018: alternate ntp: implement searchbox api for instant overlay to adopt themes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed sreeram's comments, fixed to not set theme fields if no theme Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_ 5 #ifndef CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_
6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_ 6 #define CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 20 matching lines...) Expand all
31 static void DispatchResize(WebKit::WebFrame* frame); 31 static void DispatchResize(WebKit::WebFrame* frame);
32 32
33 static bool PageSupportsInstant(WebKit::WebFrame* frame); 33 static bool PageSupportsInstant(WebKit::WebFrame* frame);
34 34
35 // Extended API. 35 // Extended API.
36 static void DispatchAutocompleteResults(WebKit::WebFrame* frame); 36 static void DispatchAutocompleteResults(WebKit::WebFrame* frame);
37 static void DispatchUpOrDownKeyPress(WebKit::WebFrame* frame, int count); 37 static void DispatchUpOrDownKeyPress(WebKit::WebFrame* frame, int count);
38 static void DispatchFocus(WebKit::WebFrame* frame); 38 static void DispatchFocus(WebKit::WebFrame* frame);
39 static void DispatchBlur(WebKit::WebFrame* frame); 39 static void DispatchBlur(WebKit::WebFrame* frame);
40 static void DispatchContextChange(WebKit::WebFrame* frame); 40 static void DispatchContextChange(WebKit::WebFrame* frame);
41 static void DispatchThemeChange(WebKit::WebFrame* frame);
42 static void DispatchThemeAreaHeightChange(WebKit::WebFrame* frame);
41 43
42 private: 44 private:
43 DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtension); 45 DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtension);
44 }; 46 };
45 47
46 } // namespace extensions_v8 48 } // namespace extensions_v8
47 49
48 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_ 50 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/renderer/searchbox/searchbox.cc ('k') | chrome/renderer/searchbox/searchbox_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698