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

Unified Diff: chrome/browser/tab_contents/tab_contents_view.cc

Issue 3743001: FBTF: Fix more ctor/dtors found by clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rebase to pick up mac fix on ToT Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_view.cc
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc
index c03bc35600ab085bab46d49c3c44c8fe3938157b..9acb0bdc228da5fbedb742ad34037028432b9315 100644
--- a/chrome/browser/tab_contents/tab_contents_view.cc
+++ b/chrome/browser/tab_contents/tab_contents_view.cc
@@ -16,6 +16,8 @@ TabContentsView::TabContentsView(TabContents* tab_contents)
: tab_contents_(tab_contents) {
}
+TabContentsView::~TabContentsView() {}
+
void TabContentsView::RenderWidgetHostDestroyed(RenderWidgetHost* host) {
if (host->view())
host->view()->WillDestroyRenderWidget(host);
@@ -103,6 +105,20 @@ void TabContentsView::UpdatePreferredSize(const gfx::Size& pref_size) {
tab_contents_->delegate()->UpdatePreferredSize(pref_size);
}
+bool TabContentsView::IsDoingDrag() const {
+ return false;
+}
+
+bool TabContentsView::IsEventTracking() const {
+ return false;
+}
+
+bool TabContentsView::ShouldDrawDropShadow() {
+ return false;
+}
+
+TabContentsView::TabContentsView() {}
+
void TabContentsView::HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {
if (tab_contents_->delegate())
tab_contents_->delegate()->HandleKeyboardEvent(event);
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_view.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698