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

Side by Side Diff: webkit/tools/test_shell/test_shell.cc

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)
Patch Set: Addressing Brett's comments Created 11 years, 11 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
« no previous file with comments | « webkit/pending/AccessibleBase.cpp ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "v8_proxy.h" 5 #include "v8_proxy.h"
6 #undef LOG 6 #undef LOG
7 7
8 #include "webkit/tools/test_shell/test_shell.h" 8 #include "webkit/tools/test_shell/test_shell.h"
9 9
10 10
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 } 588 }
589 589
590 bool SpellCheckWord(const wchar_t* word, int word_len, 590 bool SpellCheckWord(const wchar_t* word, int word_len,
591 int* misspelling_start, int* misspelling_len) { 591 int* misspelling_start, int* misspelling_len) {
592 // Report all words being correctly spelled. 592 // Report all words being correctly spelled.
593 *misspelling_start = 0; 593 *misspelling_start = 0;
594 *misspelling_len = 0; 594 *misspelling_len = 0;
595 return true; 595 return true;
596 } 596 }
597 597
598 ScreenInfo GetScreenInfo(gfx::NativeView window) { 598 ScreenInfo GetScreenInfo(gfx::NativeViewId window) {
599 return GetScreenInfoHelper(window); 599 return GetScreenInfoHelper(gfx::NativeViewFromId(window));
600 } 600 }
601 601
602 bool IsPluginRunningInRendererProcess() { 602 bool IsPluginRunningInRendererProcess() {
603 return true; 603 return true;
604 } 604 }
605 605
606 bool GetPluginFinderURL(std::string* plugin_finder_url) { 606 bool GetPluginFinderURL(std::string* plugin_finder_url) {
607 return false; 607 return false;
608 } 608 }
609 609
610 bool IsDefaultPluginEnabled() { 610 bool IsDefaultPluginEnabled() {
611 return false; 611 return false;
612 } 612 }
613 613
614 std::wstring GetWebKitLocale() { 614 std::wstring GetWebKitLocale() {
615 return L"en-US"; 615 return L"en-US";
616 } 616 }
617 617
618 uint64 VisitedLinkHash(const char* canonical_url, size_t length) { 618 uint64 VisitedLinkHash(const char* canonical_url, size_t length) {
619 return 0; 619 return 0;
620 } 620 }
621 621
622 bool IsLinkVisited(uint64 link_hash) { 622 bool IsLinkVisited(uint64 link_hash) {
623 return false; 623 return false;
624 } 624 }
625 625
626 } // namespace webkit_glue 626 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/pending/AccessibleBase.cpp ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698