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

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

Issue 276059: Kill WebViewDelegate::WasOpenedByUserGesture, and instead have... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | « webkit/glue/webview_delegate.h ('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) 2007-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2007-2009 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 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 MSVC_PUSH_WARNING_LEVEL(0); 9 MSVC_PUSH_WARNING_LEVEL(0);
10 #include "AXObjectCache.h" 10 #include "AXObjectCache.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 ignore_input_events_(false), 397 ignore_input_events_(false),
398 suppress_next_keypress_event_(false), 398 suppress_next_keypress_event_(false),
399 initial_navigation_policy_(WebKit::WebNavigationPolicyIgnore), 399 initial_navigation_policy_(WebKit::WebNavigationPolicyIgnore),
400 ime_accept_events_(true), 400 ime_accept_events_(true),
401 drag_target_dispatch_(false), 401 drag_target_dispatch_(false),
402 drag_identity_(0), 402 drag_identity_(0),
403 drop_effect_(DROP_EFFECT_DEFAULT), 403 drop_effect_(DROP_EFFECT_DEFAULT),
404 operations_allowed_(WebKit::WebDragOperationNone), 404 operations_allowed_(WebKit::WebDragOperationNone),
405 drag_operation_(WebKit::WebDragOperationNone), 405 drag_operation_(WebKit::WebDragOperationNone),
406 autocomplete_popup_showing_(false), 406 autocomplete_popup_showing_(false),
407 is_transparent_(false) { 407 is_transparent_(false),
408 tabs_to_links_(false) {
408 // WebKit/win/WebView.cpp does the same thing, except they call the 409 // WebKit/win/WebView.cpp does the same thing, except they call the
409 // KJS specific wrapper around this method. We need to have threading 410 // KJS specific wrapper around this method. We need to have threading
410 // initialized because CollatorICU requires it. 411 // initialized because CollatorICU requires it.
411 WTF::initializeThreading(); 412 WTF::initializeThreading();
412 413
413 // set to impossible point so we always get the first mouse pos 414 // set to impossible point so we always get the first mouse pos
414 last_mouse_position_ = WebPoint(-1, -1); 415 last_mouse_position_ = WebPoint(-1, -1);
415 416
416 // the page will take ownership of the various clients 417 // the page will take ownership of the various clients
417 page_.reset(new Page(&chrome_client_impl_, 418 page_.reset(new Page(&chrome_client_impl_,
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 hitTestResultAtPoint(doc_point, false); 1922 hitTestResultAtPoint(doc_point, false);
1922 } 1923 }
1923 1924
1924 void WebViewImpl::setTabsToLinks(bool enable) { 1925 void WebViewImpl::setTabsToLinks(bool enable) {
1925 tabs_to_links_ = enable; 1926 tabs_to_links_ = enable;
1926 } 1927 }
1927 1928
1928 bool WebViewImpl::tabsToLinks() const { 1929 bool WebViewImpl::tabsToLinks() const {
1929 return tabs_to_links_; 1930 return tabs_to_links_;
1930 } 1931 }
OLDNEW
« no previous file with comments | « webkit/glue/webview_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698