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

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

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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
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 #include "chrome/renderer/searchbox/searchbox_extension.h" 5 #include "chrome/renderer/searchbox/searchbox_extension.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "chrome/common/autocomplete_match_type.h" 12 #include "chrome/common/autocomplete_match_type.h"
13 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 #include "chrome/common/instant_types.h" 14 #include "chrome/common/instant_types.h"
15 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
16 #include "chrome/renderer/searchbox/searchbox.h" 16 #include "chrome/renderer/searchbox/searchbox.h"
17 #include "content/public/renderer/render_view.h" 17 #include "content/public/renderer/render_view.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "grit/renderer_resources.h" 19 #include "grit/renderer_resources.h"
20 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 20 #include "third_party/WebKit/public/platform/WebURLRequest.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
25 #include "ui/base/keycodes/keyboard_codes.h" 25 #include "ui/base/keycodes/keyboard_codes.h"
26 #include "ui/base/resource/resource_bundle.h" 26 #include "ui/base/resource/resource_bundle.h"
27 #include "ui/base/window_open_disposition.h" 27 #include "ui/base/window_open_disposition.h"
28 #include "v8/include/v8.h" 28 #include "v8/include/v8.h"
29 29
30 namespace { 30 namespace {
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 void SearchBoxExtension::DispatchBarsHidden(WebKit::WebFrame* frame) { 1486 void SearchBoxExtension::DispatchBarsHidden(WebKit::WebFrame* frame) {
1487 Dispatch(frame, kDispatchBarsHiddenEventScript); 1487 Dispatch(frame, kDispatchBarsHiddenEventScript);
1488 } 1488 }
1489 1489
1490 // static 1490 // static
1491 void SearchBoxExtension::DispatchFocusChange(WebKit::WebFrame* frame) { 1491 void SearchBoxExtension::DispatchFocusChange(WebKit::WebFrame* frame) {
1492 Dispatch(frame, kDispatchFocusChangedScript); 1492 Dispatch(frame, kDispatchFocusChangedScript);
1493 } 1493 }
1494 1494
1495 } // namespace extensions_v8 1495 } // namespace extensions_v8
OLDNEW
« no previous file with comments | « chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698