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

Side by Side Diff: chrome/browser/external_tab_container_win.h

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 6 #define CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual void LoadingStateChanged(TabContents* source); 121 virtual void LoadingStateChanged(TabContents* source);
122 virtual void CloseContents(TabContents* source); 122 virtual void CloseContents(TabContents* source);
123 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); 123 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
124 virtual void URLStarredChanged(TabContents* source, bool starred); 124 virtual void URLStarredChanged(TabContents* source, bool starred);
125 virtual void UpdateTargetURL(TabContents* source, const GURL& url); 125 virtual void UpdateTargetURL(TabContents* source, const GURL& url);
126 virtual void ContentsZoomChange(bool zoom_in); 126 virtual void ContentsZoomChange(bool zoom_in);
127 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 127 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
128 virtual void ForwardMessageToExternalHost(const std::string& message, 128 virtual void ForwardMessageToExternalHost(const std::string& message,
129 const std::string& origin, 129 const std::string& origin,
130 const std::string& target); 130 const std::string& target);
131 virtual bool IsExternalTabContainer() const { 131 virtual bool IsExternalTabContainer() const;
132 return true;
133 };
134 virtual gfx::NativeWindow GetFrameNativeWindow(); 132 virtual gfx::NativeWindow GetFrameNativeWindow();
135 133
136 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 134 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
137 bool* is_keyboard_shortcut); 135 bool* is_keyboard_shortcut);
138 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 136 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
139 137
140 virtual bool TakeFocus(bool reverse); 138 virtual bool TakeFocus(bool reverse);
141 139
142 virtual bool CanDownload(int request_id); 140 virtual bool CanDownload(int request_id);
143 141
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 views::FocusManager* focus_manager_; 323 views::FocusManager* focus_manager_;
326 324
327 views::View* external_tab_view_; 325 views::View* external_tab_view_;
328 326
329 IPC::Message* unload_reply_message_; 327 IPC::Message* unload_reply_message_;
330 328
331 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer); 329 DISALLOW_COPY_AND_ASSIGN(ExternalTabContainer);
332 }; 330 };
333 331
334 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_ 332 #endif // CHROME_BROWSER_EXTERNAL_TAB_CONTAINER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698