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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « content/test/render_view_fake_resources_test.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file was forked off the Mac port. 5 // This file was forked off the Mac port.
6 6
7 #include "webkit/tools/test_shell/test_webview_delegate.h" 7 #include "webkit/tools/test_shell/test_webview_delegate.h"
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 #include <gdk/gdkx.h> 10 #include <gdk/gdkx.h>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "content/common/page_transition_types.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
23 #include "ui/gfx/gtk_util.h" 22 #include "ui/gfx/gtk_util.h"
24 #include "ui/gfx/point.h" 23 #include "ui/gfx/point.h"
25 #include "webkit/glue/webcursor.h" 24 #include "webkit/glue/webcursor.h"
26 #include "webkit/glue/webdropdata.h" 25 #include "webkit/glue/webdropdata.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } 262 }
264 263
265 void TestWebViewDelegate::SetPageTitle(const string16& title) { 264 void TestWebViewDelegate::SetPageTitle(const string16& title) {
266 gtk_window_set_title(GTK_WINDOW(shell_->mainWnd()), 265 gtk_window_set_title(GTK_WINDOW(shell_->mainWnd()),
267 ("Test Shell - " + UTF16ToUTF8(title)).c_str()); 266 ("Test Shell - " + UTF16ToUTF8(title)).c_str());
268 } 267 }
269 268
270 void TestWebViewDelegate::SetAddressBarURL(const GURL& url) { 269 void TestWebViewDelegate::SetAddressBarURL(const GURL& url) {
271 gtk_entry_set_text(GTK_ENTRY(shell_->editWnd()), url.spec().c_str()); 270 gtk_entry_set_text(GTK_ENTRY(shell_->editWnd()), url.spec().c_str());
272 } 271 }
OLDNEW
« no previous file with comments | « content/test/render_view_fake_resources_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698