| OLD | NEW |
| 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 #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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Extended API. | 35 // Extended API. |
| 36 static void DispatchOnWindowReady(WebKit::WebFrame* frame); | 36 static void DispatchOnWindowReady(WebKit::WebFrame* frame); |
| 37 static void DispatchAutocompleteResults(WebKit::WebFrame* frame); | 37 static void DispatchAutocompleteResults(WebKit::WebFrame* frame); |
| 38 static void DispatchUpOrDownKeyPress(WebKit::WebFrame* frame, int count); | 38 static void DispatchUpOrDownKeyPress(WebKit::WebFrame* frame, int count); |
| 39 static void DispatchEscKeyPress(WebKit::WebFrame* frame); | 39 static void DispatchEscKeyPress(WebKit::WebFrame* frame); |
| 40 static void DispatchKeyCaptureChange(WebKit::WebFrame* frame); | 40 static void DispatchKeyCaptureChange(WebKit::WebFrame* frame); |
| 41 static void DispatchMarginChange(WebKit::WebFrame* frame); | 41 static void DispatchMarginChange(WebKit::WebFrame* frame); |
| 42 static void DispatchThemeChange(WebKit::WebFrame* frame); | 42 static void DispatchThemeChange(WebKit::WebFrame* frame); |
| 43 static void DispatchBarsHidden(WebKit::WebFrame* frame); | 43 static void DispatchBarsHidden(WebKit::WebFrame* frame); |
| 44 static void DispatchFocusChange(WebKit::WebFrame* frame); |
| 44 | 45 |
| 45 // New Tab Page API. | 46 // New Tab Page API. |
| 46 static void DispatchMostVisitedChanged(WebKit::WebFrame* frame); | 47 static void DispatchMostVisitedChanged(WebKit::WebFrame* frame); |
| 47 | 48 |
| 48 private: | 49 private: |
| 49 DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtension); | 50 DISALLOW_IMPLICIT_CONSTRUCTORS(SearchBoxExtension); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace extensions_v8 | 53 } // namespace extensions_v8 |
| 53 | 54 |
| 54 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_ | 55 #endif // CHROME_RENDERER_SEARCHBOX_SEARCHBOX_EXTENSION_H_ |
| OLD | NEW |