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

Side by Side Diff: webkit/glue/context_menu_client_impl.cc

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
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 "config.h" 5 #include "config.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "ContextMenu.h" 10 #include "ContextMenu.h"
11 #include "Document.h" 11 #include "Document.h"
12 #include "DocumentLoader.h" 12 #include "DocumentLoader.h"
13 #include "Editor.h" 13 #include "Editor.h"
14 #include "EventHandler.h" 14 #include "EventHandler.h"
15 #include "FrameLoader.h" 15 #include "FrameLoader.h"
16 #include "FrameView.h" 16 #include "FrameView.h"
17 #include "HitTestResult.h" 17 #include "HitTestResult.h"
18 #include "KURL.h" 18 #include "KURL.h"
19 #include "Widget.h" 19 #include "Widget.h"
20 MSVC_POP_WARNING(); 20 MSVC_POP_WARNING();
21 #undef LOG 21 #undef LOG
22 22
23 #include "webkit/glue/context_menu_client_impl.h" 23 #include "webkit/glue/context_menu_client_impl.h"
24 24
25 #include "base/string_util.h" 25 #include "base/string_util.h"
26 #include "webkit/glue/context_menu.h" 26 #include "webkit/glue/context_menu.h"
27 #include "webkit/glue/glue_util.h" 27 #include "webkit/glue/glue_util.h"
28 #include "webkit/glue/webdocumentloader_impl.h" 28 #include "webkit/glue/webdocumentloader_impl.h"
29 #include "webkit/glue/webresponse.h"
30 #include "webkit/glue/weburlrequest_impl.h"
29 #include "webkit/glue/webview_impl.h" 31 #include "webkit/glue/webview_impl.h"
30 32
31 #include "base/word_iterator.h" 33 #include "base/word_iterator.h"
32 34
33 namespace { 35 namespace {
34 36
35 // Helper function to determine whether text is a single word or a sentence. 37 // Helper function to determine whether text is a single word or a sentence.
36 bool IsASingleWord(const std::wstring& text) { 38 bool IsASingleWord(const std::wstring& text) {
37 WordIterator iter(text, WordIterator::BREAK_WORD); 39 WordIterator iter(text, WordIterator::BREAK_WORD);
38 int word_count = 0; 40 int word_count = 0;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 281
280 bool ContextMenuClientImpl::shouldIncludeInspectElementItem() { 282 bool ContextMenuClientImpl::shouldIncludeInspectElementItem() {
281 return false; // TODO(jackson): Eventually include the inspector context me nu item 283 return false; // TODO(jackson): Eventually include the inspector context me nu item
282 } 284 }
283 285
284 #if defined(OS_MACOSX) 286 #if defined(OS_MACOSX)
285 void ContextMenuClientImpl::searchWithSpotlight() { 287 void ContextMenuClientImpl::searchWithSpotlight() {
286 // TODO(pinkerton): write this 288 // TODO(pinkerton): write this
287 } 289 }
288 #endif 290 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698